diff options
author | David Robillard <d@drobilla.net> | 2021-06-29 18:16:44 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-14 19:37:51 -0500 |
commit | daf4a7574d1977567c3da3d7fa561710139eb052 (patch) | |
tree | bd07e1354ef80aa287e3f5ea963dd6360a02c134 /test/lax | |
parent | 8f6d68365e0dccba13c588dd4180ea18fc9cda09 (diff) | |
download | serd-daf4a7574d1977567c3da3d7fa561710139eb052.tar.gz serd-daf4a7574d1977567c3da3d7fa561710139eb052.tar.bz2 serd-daf4a7574d1977567c3da3d7fa561710139eb052.zip |
Factor out NQuads reader
Diffstat (limited to 'test/lax')
-rw-r--r-- | test/lax/manifest.ttl | 7 | ||||
-rw-r--r-- | test/lax/test-bad-string.nq | 3 |
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" . |