Skip to content

Commit

Permalink
change a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Mar 17, 2024
1 parent 43f8d61 commit 9ba4a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/rules/no-misleading-character-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ruleTester.run("no-misleading-character-class", rule, {
options: [{ allowEscape: true }]
},
{
code: String.raw`/[\\ud83d\\udc4d]/`,
code: String.raw`/[\]/`,
options: [{ allowEscape: true }]
},
{
Expand Down

0 comments on commit 9ba4a39

Please sign in to comment.