aboutsummaryrefslogtreecommitdiffstats
path: root/test/lax
diff options
context:
space:
mode:
Diffstat (limited to 'test/lax')
-rw-r--r--test/lax/manifest.ttl7
-rw-r--r--test/lax/test-bad-string.nq3
2 files changed, 10 insertions, 0 deletions
diff --git a/test/lax/manifest.ttl b/test/lax/manifest.ttl
index 0d370f42..4342471c 100644
--- a/test/lax/manifest.ttl
+++ b/test/lax/manifest.ttl
@@ -9,6 +9,7 @@
mf:entries (
<#test-bad-string-ttl>
<#test-bad-string-nt>
+ <#test-bad-string-nq>
<#test-bad-uri-ttl>
<#test-bad-uri-nt>
<#test-bad-uri-nq>
@@ -31,6 +32,12 @@
mf:action <test-bad-string.nt> ;
mf:result <test-bad-string-out.nt> .
+<#test-bad-string-nq>
+ rdf:type rdft:TestNQuadsNegativeSynqax ;
+ mf:name "test-bad-string-nq" ;
+ mf:action <test-bad-string.nq> ;
+ mf:result <test-bad-string-out.nq> .
+
<#test-bad-uri-ttl>
rdf:type rdft:TestTurtleNegativeSyntax ;
mf:name "test-bad-uri-ttl" ;
diff --git a/test/lax/test-bad-string.nq b/test/lax/test-bad-string.nq
new file mode 100644
index 00000000..72eb9621
--- /dev/null
+++ b/test/lax/test-bad-string.nq
@@ -0,0 +1,3 @@
+<http://example.org/s1> <http://example.org/p1> "Truncated line
+<http://example.org/s1> <http://example.org/p1> "Bad escape \? " .
+<http://example.org/s1> <http://example.org/p2> "Good" .