diff --git a/test/suites/invalid-strip/escaped-null-byte-in-string/error b/test/suites/invalid-strip/escaped-null-byte-in-string/error new file mode 100644 index 0000000..0fa36e2 --- /dev/null +++ b/test/suites/invalid-strip/escaped-null-byte-in-string/error @@ -0,0 +1,2 @@ +1 +\u0000 is not allowed diff --git a/test/suites/invalid-strip/escaped-null-byte-in-string/input b/test/suites/invalid-strip/escaped-null-byte-in-string/input new file mode 100644 index 0000000..60f7f7b --- /dev/null +++ b/test/suites/invalid-strip/escaped-null-byte-in-string/input @@ -0,0 +1 @@ +["\u0000 (null byte not allowed)"] \ No newline at end of file diff --git a/test/suites/invalid-strip/null-byte-in-string/error b/test/suites/invalid-strip/null-byte-in-string/error index 0fa36e2..273f6d1 100644 --- a/test/suites/invalid-strip/null-byte-in-string/error +++ b/test/suites/invalid-strip/null-byte-in-string/error @@ -1,2 +1,2 @@ 1 -\u0000 is not allowed +control character 0x0 near '"null byte ' diff --git a/test/suites/invalid-strip/null-byte-in-string/input b/test/suites/invalid-strip/null-byte-in-string/input index 60f7f7b..c0d82be 100644 Binary files a/test/suites/invalid-strip/null-byte-in-string/input and b/test/suites/invalid-strip/null-byte-in-string/input differ diff --git a/test/suites/invalid-strip/null-byte-outside-string/error b/test/suites/invalid-strip/null-byte-outside-string/error new file mode 100644 index 0000000..f0e68ec --- /dev/null +++ b/test/suites/invalid-strip/null-byte-outside-string/error @@ -0,0 +1,2 @@ +1 +invalid token near end of file diff --git a/test/suites/invalid-strip/null-byte-outside-string/input b/test/suites/invalid-strip/null-byte-outside-string/input new file mode 100644 index 0000000..75447d8 Binary files /dev/null and b/test/suites/invalid-strip/null-byte-outside-string/input differ diff --git a/test/suites/invalid/escaped-null-byte-in-string/error b/test/suites/invalid/escaped-null-byte-in-string/error new file mode 100644 index 0000000..0fa36e2 --- /dev/null +++ b/test/suites/invalid/escaped-null-byte-in-string/error @@ -0,0 +1,2 @@ +1 +\u0000 is not allowed diff --git a/test/suites/invalid/escaped-null-byte-in-string/input b/test/suites/invalid/escaped-null-byte-in-string/input new file mode 100644 index 0000000..22ae82b --- /dev/null +++ b/test/suites/invalid/escaped-null-byte-in-string/input @@ -0,0 +1 @@ +["\u0000 (null byte not allowed)"] diff --git a/test/suites/invalid/null-byte-in-string/error b/test/suites/invalid/null-byte-in-string/error index 0fa36e2..273f6d1 100644 --- a/test/suites/invalid/null-byte-in-string/error +++ b/test/suites/invalid/null-byte-in-string/error @@ -1,2 +1,2 @@ 1 -\u0000 is not allowed +control character 0x0 near '"null byte ' diff --git a/test/suites/invalid/null-byte-in-string/input b/test/suites/invalid/null-byte-in-string/input index 22ae82b..268d1f1 100644 Binary files a/test/suites/invalid/null-byte-in-string/input and b/test/suites/invalid/null-byte-in-string/input differ diff --git a/test/suites/invalid/null-byte-outside-string/error b/test/suites/invalid/null-byte-outside-string/error new file mode 100644 index 0000000..f0e68ec --- /dev/null +++ b/test/suites/invalid/null-byte-outside-string/error @@ -0,0 +1,2 @@ +1 +invalid token near end of file diff --git a/test/suites/invalid/null-byte-outside-string/input b/test/suites/invalid/null-byte-outside-string/input new file mode 100644 index 0000000..aa550eb Binary files /dev/null and b/test/suites/invalid/null-byte-outside-string/input differ