Elchi3 / mdn-doc-tests

:no_entry_sign: UNMAINTAINED :no_entry_sign: This used to check MDN docs against some tests and cleanup tasks while editing, but add-on SDK based add-ons are obsolete. Use https://github.com/mdn/doc-linter-webextension and https://github.com/mdn/doc-linter-rules instead.
Mozilla Public License 2.0
10 stars 8 forks source link

Broaden jsref-with-params test #186

Closed SebastianZ closed 8 years ago

SebastianZ commented 8 years ago

In https://github.com/Elchi3/mdn-doc-tests/issues/179#issuecomment-223536260 @Elchi3 mentioned that there can be more tests, which don't require parameters (anymore). I think this is different enough to the invalid-macros test to keep it separated.

Examples for those are {{csssyntax}} and {{cssinfo}} in case their first parameter matches the page's slug.

Of course the test should be renamed accordingly, e.g. to unnecessary-macro-params.

Sebastian