diff options
Diffstat (limited to 'test/testdata/invalid-unicode')
-rw-r--r-- | test/testdata/invalid-unicode | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/test/testdata/invalid-unicode b/test/testdata/invalid-unicode index fbc807d..84db51f 100644 --- a/test/testdata/invalid-unicode +++ b/test/testdata/invalid-unicode @@ -1,88 +1,89 @@ +==== lone-invalid-utf-8 ==== ==== -1 unable to decode byte 0xe5 at position 0 -======== +==== invalid-utf-8-in-string ==== [" <-- invalid UTF-8"] ==== -1 unable to decode byte 0xe5 at position 2 -======== +==== invalid-utf-8-in-array ==== [] ==== -1 unable to decode byte 0xe5 at position 1 -======== +==== invalid-utf-8-in-identifier ==== [a] ==== -1 unable to decode byte 0xe5 at position 2 -======== +==== invalid-utf-8-in-escape ==== ["\u"] ==== -1 unable to decode byte 0xe5 at position 4 -======== +==== invalid-utf-8-after-backslash ==== ["\"] ==== -1 unable to decode byte 0xe5 at position 3 -======== +==== invalid-utf-8-in-int ==== [0] ==== -1 unable to decode byte 0xe5 at position 2 -======== +==== invalid-utf-8-in-bigger-int ==== [123] ==== -1 unable to decode byte 0xe5 at position 4 -======== +==== invalid-utf-8-in-real-after-e ==== [1e] ==== -1 unable to decode byte 0xe5 at position 3 -======== +==== invalid-utf-8-in-exponent ==== [1e1] ==== -1 unable to decode byte 0xe5 at position 4 -======== +==== lone-utf-8-continuation-byte ==== [""] ==== -1 unable to decode byte 0x81 at position 2 -======== +==== overlong-ascii-encoding ==== [""] ==== -1 unable to decode byte 0xc1 at position 2 -======== +==== restricted-utf-8 ==== [""] ==== -1 unable to decode byte 0xfd at position 2 -======== +==== not-in-unicode-range ==== [""] ==== -1 unable to decode byte 0xf4 at position 2 -======== +==== overlong-3-byte-encoding ==== [" <-- overlong encoding"] ==== -1 unable to decode byte 0xe0 at position 2 -======== +==== overlong-4-byte-encoding ==== [" <-- overlong encoding"] ==== -1 unable to decode byte 0xf0 at position 2 -======== +==== truncated-utf-8 ==== [" <-- truncated UTF-8"] ==== -1 unable to decode byte 0xe0 at position 2 -======== +==== encoded-surrogate-half ==== [" <-- encoded surrogate half"] ==== -1 |