Skip to content

Commit

Permalink
Test that attempt to pass multiple arguments to attribute shorthand s…
Browse files Browse the repository at this point in the history
…yntax isn't highlighted as if it were valid
  • Loading branch information
laniakea64 committed Jul 18, 2024
1 parent 05f05b6 commit 9c32ab6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cases/invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,6 @@

<span class="Type">[group</span><span class="Operator">:</span> <span class="Operator">,</span> <span class="Type">unix]</span>
<span class="Function">comma-is-not-invalid-attr-value</span><span class="Operator">:</span>

<span class="Type">[script</span><span class="Operator">:</span> <span class="String">'bash'</span><span class="Operator">,</span> "-x"<span class="Operator">,</span> '-c'<span class="Type">]</span>
<span class="Function">attr-shorthand-takes-only-one-argument</span><span class="Operator">:</span>
3 changes: 3 additions & 0 deletions tests/cases/invalid.just
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,6 @@ invalid-shorthand-attr-value3:

[group: , unix]
comma-is-not-invalid-attr-value:

[script: 'bash', "-x", '-c']
attr-shorthand-takes-only-one-argument:

0 comments on commit 9c32ab6

Please sign in to comment.