Skip to content

Commit

Permalink
Add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jul 22, 2018
1 parent 2f26cfd commit 4b7a8c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/lib/rules/no-warning-html-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ tester.run("no-warning-html-comments", rule, {
],
filename: "test.html",
},
{
code: "<!-- %% -->",
options: [{ terms: ["%%"] }],
output: null,
errors: [
"Unexpected '%%' comment.",
],
filename: "test.html",
},


],
Expand Down

0 comments on commit 4b7a8c0

Please sign in to comment.