Skip to content

Commit

Permalink
Move 4 tests from fail/ to pass/ re NonOctalDecimalEscapeSequence
Browse files Browse the repository at this point in the history
These tests were expected to raise a syntax error
because they have a string literal containing \8 or \9,
which used to be disallowed.

However, they have been allowed (via NonOctalDecimalEscapeSequence)
since the merge of tc39/ecma262#2054.
  • Loading branch information
jmdyck committed Jan 30, 2021
1 parent de8a208 commit 9c6a4b7
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pass-explicit/0d5e450f1da8a92a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'\9'
1 change: 1 addition & 0 deletions pass-explicit/748656edbfb2d0bb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'\8'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions pass/79f882da06f88c9f.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"\8";
1 change: 1 addition & 0 deletions pass/92b6af54adef3624.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"\9";

0 comments on commit 9c6a4b7

Please sign in to comment.