diff options
Diffstat (limited to 'test/extra/lax')
-rw-r--r-- | test/extra/lax/manifest.ttl | 7 | ||||
-rw-r--r-- | test/extra/lax/test-bad-string.nq | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/extra/lax/manifest.ttl b/test/extra/lax/manifest.ttl index c68f0176..9291b7b3 100644 --- a/test/extra/lax/manifest.ttl +++ b/test/extra/lax/manifest.ttl @@ -6,6 +6,7 @@ a mf:Manifest ; rdfs:comment "Serd lax parsing test suite" ; mf:entries ( + <#test-bad-string-nq> <#test-bad-string-nt> <#test-bad-string-ttl> <#test-bad-uri-nq> @@ -18,6 +19,12 @@ <#test-out-of-range-unicode> ) . +<#test-bad-string-nq> + a rdft:TestNQuadsNegativeSyntax ; + mf:action <test-bad-string.nq> ; + mf:name "test-bad-string-nq" ; + mf:result <test-bad-string-out.nq> . + <#test-bad-string-nt> a rdft:TestNTriplesNegativeSyntax ; mf:action <test-bad-string.nt> ; diff --git a/test/extra/lax/test-bad-string.nq b/test/extra/lax/test-bad-string.nq new file mode 100644 index 00000000..72eb9621 --- /dev/null +++ b/test/extra/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" . |