aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-07 01:17:35 -0400
committerDavid Robillard <d@drobilla.net>2024-06-07 02:13:00 -0400
commit00732ff12085126b1a62675d224eb42a13de334f (patch)
tree3628f66f49a615780395cb3fdde7bb8c8a250ed9
parente39fc3210af65170801034e918cf83edc1cb43c8 (diff)
downloadserd-00732ff12085126b1a62675d224eb42a13de334f.tar.gz
serd-00732ff12085126b1a62675d224eb42a13de334f.tar.bz2
serd-00732ff12085126b1a62675d224eb42a13de334f.zip
Add test case for bad graph URIs in NQuads
-rw-r--r--test/extra/lax/test-bad-uri-nq-out.nq2
-rw-r--r--test/extra/lax/test-bad-uri.nq2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/extra/lax/test-bad-uri-nq-out.nq b/test/extra/lax/test-bad-uri-nq-out.nq
index e14f3a08..d18ad57d 100644
--- a/test/extra/lax/test-bad-uri-nq-out.nq
+++ b/test/extra/lax/test-bad-uri-nq-out.nq
@@ -1,4 +1,4 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/goodo1> <http://example.org/�badg1> .
<http://example.org/s> <http://example.org/p> <http://example.org/\u0009bado1> .
-<http://example.org/s> <http://example.org/p> <http://example.org/goodo1> .
<http://example.org/s> <http://example.org/p> <http://example.org/�bado2> .
<http://example.org/s> <http://example.org/p> <http://example.org/goodo2> .
diff --git a/test/extra/lax/test-bad-uri.nq b/test/extra/lax/test-bad-uri.nq
index 8f11b1d7..8a3c9cb4 100644
--- a/test/extra/lax/test-bad-uri.nq
+++ b/test/extra/lax/test-bad-uri.nq
@@ -1,4 +1,4 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/goodo1> <http://example.org/ÿÿbadg1> .
<http://example.org/s> <http://example.org/p> <http://example.org/ bado1> .
-<http://example.org/s> <http://example.org/p> <http://example.org/goodo1> .
<http://example.org/s> <http://example.org/p> <http://example.org/ÿÿbado2> .
<http://example.org/s> <http://example.org/p> <http://example.org/goodo2> .