Enhance tests for null byte
This commit is contained in:
parent
f284e3c069
commit
f76966b438
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
\u0000 is not allowed
|
@ -0,0 +1 @@
|
|||||||
|
["\u0000 (null byte not allowed)"]
|
@ -1,2 +1,2 @@
|
|||||||
1
|
1
|
||||||
\u0000 is not allowed
|
control character 0x0 near '"null byte '
|
||||||
|
Binary file not shown.
2
test/suites/invalid-strip/null-byte-outside-string/error
Normal file
2
test/suites/invalid-strip/null-byte-outside-string/error
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
invalid token near end of file
|
BIN
test/suites/invalid-strip/null-byte-outside-string/input
Normal file
BIN
test/suites/invalid-strip/null-byte-outside-string/input
Normal file
Binary file not shown.
2
test/suites/invalid/escaped-null-byte-in-string/error
Normal file
2
test/suites/invalid/escaped-null-byte-in-string/error
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
\u0000 is not allowed
|
1
test/suites/invalid/escaped-null-byte-in-string/input
Normal file
1
test/suites/invalid/escaped-null-byte-in-string/input
Normal file
@ -0,0 +1 @@
|
|||||||
|
["\u0000 (null byte not allowed)"]
|
@ -1,2 +1,2 @@
|
|||||||
1
|
1
|
||||||
\u0000 is not allowed
|
control character 0x0 near '"null byte '
|
||||||
|
Binary file not shown.
2
test/suites/invalid/null-byte-outside-string/error
Normal file
2
test/suites/invalid/null-byte-outside-string/error
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
invalid token near end of file
|
BIN
test/suites/invalid/null-byte-outside-string/input
Normal file
BIN
test/suites/invalid/null-byte-outside-string/input
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user