Add a test case for \u0000
This commit is contained in:
2
test/suites/invalid/null-escape-in-string/error
Normal file
2
test/suites/invalid/null-escape-in-string/error
Normal file
@@ -0,0 +1,2 @@
|
||||
1 33 33
|
||||
\u0000 is not allowed without JSON_ALLOW_NUL
|
||||
1
test/suites/invalid/null-escape-in-string/input
Normal file
1
test/suites/invalid/null-escape-in-string/input
Normal file
@@ -0,0 +1 @@
|
||||
["null escape \u0000 not allowed"]
|
||||
Reference in New Issue
Block a user