Enhance tests for null byte

This commit is contained in:
Petri Lehtinen 2010-03-26 21:29:31 +02:00
parent f284e3c069
commit f76966b438
12 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,2 @@
1
\u0000 is not allowed

View File

@ -0,0 +1 @@
["\u0000 (null byte not allowed)"]

View File

@ -1,2 +1,2 @@
1
\u0000 is not allowed
control character 0x0 near '"null byte '

View File

@ -0,0 +1,2 @@
1
invalid token near end of file

View File

@ -0,0 +1,2 @@
1
\u0000 is not allowed

View File

@ -0,0 +1 @@
["\u0000 (null byte not allowed)"]

View File

@ -1,2 +1,2 @@
1
\u0000 is not allowed
control character 0x0 near '"null byte '

View File

@ -0,0 +1,2 @@
1
invalid token near end of file

Binary file not shown.