OLD | NEW |
| (Empty) |
1 {"tests" : [ | |
2 {"description": "Invalid Unicode character U+DFFF", | |
3 "doubleEscaped":true, | |
4 "input": "\\uDFFF", | |
5 "output":["ParseError", ["Character", "\\uFFFD"]]}, | |
6 | |
7 {"description": "Invalid Unicode character U+D800", | |
8 "doubleEscaped":true, | |
9 "input": "\\uD800", | |
10 "output":["ParseError", ["Character", "\\uFFFD"]]}, | |
11 | |
12 {"description": "Invalid Unicode character U+DFFF with valid preceding character
", | |
13 "doubleEscaped":true, | |
14 "input": "a\\uDFFF", | |
15 "output":["ParseError", ["Character", "a\\uFFFD"]]}, | |
16 | |
17 {"description": "Invalid Unicode character U+D800 with valid following character
", | |
18 "doubleEscaped":true, | |
19 "input": "\\uD800a", | |
20 "output":["ParseError", ["Character", "\\uFFFDa"]]}, | |
21 | |
22 {"description":"CR followed by U+0000", | |
23 "input":"\r\u0000", | |
24 "output":[["Character", "\n"], "ParseError", ["Character", "\u0000"]], | |
25 "ignoreErrorOrder":true} | |
26 ] | |
27 } | |
OLD | NEW |