Skip to content

Commit

Permalink
Fix escaped a
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki authored and Ms2ger committed Jul 30, 2024
1 parent 1842afc commit 616dcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/built-ins/RegExp/escape/initial-char-escape.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ assert.sameValue(RegExp.escape('8+8'), '\\x38\\+8', 'Initial decimal digit 8 wit
assert.sameValue(RegExp.escape('9+9'), '\\x39\\+9', 'Initial decimal digit 9 with special character is escaped');
assert.sameValue(RegExp.escape('0+0'), '\\x30\\+0', 'Initial decimal digit 0 with special character is escaped');

assert.sameValue(RegExp.escape('a*a'), '\\x62\\*a', 'Initial ASCII letter a with special character is escaped');
assert.sameValue(RegExp.escape('a*a'), '\\x61\\*a', 'Initial ASCII letter a with special character is escaped');
assert.sameValue(RegExp.escape('b*b'), '\\x62\\*b', 'Initial ASCII letter b with special character is escaped');
assert.sameValue(RegExp.escape('c*c'), '\\x63\\*c', 'Initial ASCII letter c with special character is escaped');
assert.sameValue(RegExp.escape('d*d'), '\\x64\\*d', 'Initial ASCII letter d with special character is escaped');
Expand Down

0 comments on commit 616dcad

Please sign in to comment.