Skip to content

Commit

Permalink
Add missing test case for #57
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Mar 6, 2021
1 parent e7d2159 commit f06a187
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions curlylint/rules/image_alt/image_alt_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
"config": true,
"output": []
},
{
"label": "Supports template syntax around other attributes (#57)",
"template": "<img src=\"foo\" {% if condition %}srcset=\"bar\"{% endif %} alt=\"\" />",
"example": false,
"config": true,
"output": []
},
{
"label": "Missing",
"template": "<img src=\"foo\" />",
Expand Down

0 comments on commit f06a187

Please sign in to comment.