aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/lax/test-bad-utf8.trig
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-07 02:11:40 -0400
committerDavid Robillard <d@drobilla.net>2024-06-07 02:13:02 -0400
commitecf1f7340a9718199a8e965ffc2f738c7d87f055 (patch)
tree4249b10a723476f313908fb54e378b7e1743f037 /test/extra/lax/test-bad-utf8.trig
parent00732ff12085126b1a62675d224eb42a13de334f (diff)
downloadserd-ecf1f7340a9718199a8e965ffc2f738c7d87f055.tar.gz
serd-ecf1f7340a9718199a8e965ffc2f738c7d87f055.tar.bz2
serd-ecf1f7340a9718199a8e965ffc2f738c7d87f055.zip
Add test cases for lax TriG parsing
Diffstat (limited to 'test/extra/lax/test-bad-utf8.trig')
-rw-r--r--test/extra/lax/test-bad-utf8.trig6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/extra/lax/test-bad-utf8.trig b/test/extra/lax/test-bad-utf8.trig
new file mode 100644
index 00000000..0e177366
--- /dev/null
+++ b/test/extra/lax/test-bad-utf8.trig
@@ -0,0 +1,6 @@
+<http://example.org/s> <http://example.org/p> "Impossible bytes: þ ÿ" .
+<http://example.org/s> <http://example.org/p> "2 continuation bytes: €¿" .
+<http://example.org/s> <http://example.org/p> "Missing continuation: À" .
+<http://example.org/s> <http://example.org/p> """Impossible bytes: þ ÿ""" .
+<http://example.org/s> <http://example.org/p> """2 continuation bytes: €¿""" .
+<http://example.org/s> <http://example.org/p> """Missing continuation: À""" .