Skip to content

Commit a55bde9

Browse files
committed
test(javascript): restore Unicode line separators in parser fixture
1 parent d22ac5f commit a55bde9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/unitCases/syntax-printer-parse.unittest.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const CASES = [
167167
["regular expressions read twice", "{}\n/a/.test(b); if (c) /d/.test(e); x = yield_ => /f/;"],
168168
["literals", "a = [1, 1.5, .5, 1e3, 0x10, 0b1, 0o7, 1_000, 10n, 0x1Fn, 1e400, 'x', \"y\", null, true, false, /re/giu];"],
169169
["identifiers beyond ASCII", "var été = 1, \u{1d49c} = 2; sink(été, \u{1d49c});"],
170-
["line breaks of every kind", "a = 1\r\nb = 2\rc = 3d = 4e = /* x\r\ny */ 5;"],
170+
["line breaks of every kind", "a = 1\r\nb = 2\rc = 3\u2028d = 4\u2029e = /* x\r\ny */ 5;"],
171171
["a shebang and banners", "#!/usr/bin/env node\n/*! banner */\n// line\nsink();"],
172172
["an empty source", ""],
173173
["only comments", "/* a */ // b\n"],

0 commit comments

Comments
 (0)