mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-12 14:13:38 +00:00
27 lines
826 B
Text
27 lines
826 B
Text
|
{"tests" : [
|
||
|
{"description": "Invalid Unicode character U+DFFF",
|
||
|
"doubleEscaped":true,
|
||
|
"input": "\\uDFFF",
|
||
|
"output":["ParseError", ["Character", "\\uFFFD"]]},
|
||
|
|
||
|
{"description": "Invalid Unicode character U+D800",
|
||
|
"doubleEscaped":true,
|
||
|
"input": "\\uD800",
|
||
|
"output":["ParseError", ["Character", "\\uFFFD"]]},
|
||
|
|
||
|
{"description": "Invalid Unicode character U+DFFF with valid preceding character",
|
||
|
"doubleEscaped":true,
|
||
|
"input": "a\\uDFFF",
|
||
|
"output":["ParseError", ["Character", "a\\uFFFD"]]},
|
||
|
|
||
|
{"description": "Invalid Unicode character U+D800 with valid following character",
|
||
|
"doubleEscaped":true,
|
||
|
"input": "\\uD800a",
|
||
|
"output":["ParseError", ["Character", "\\uFFFDa"]]},
|
||
|
|
||
|
{"description":"CR followed by U+0000",
|
||
|
"input":"\r\u0000",
|
||
|
"output":[["Character", "\n"], "ParseError", ["Character", "\u0000"]],
|
||
|
"ignoreErrorOrder":true}
|
||
|
]
|
||
|
}
|