diff options
author | David Robillard <d@drobilla.net> | 2021-06-28 20:59:28 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-14 19:37:51 -0500 |
commit | 8f6d68365e0dccba13c588dd4180ea18fc9cda09 (patch) | |
tree | c0a4101054593a15cc1afa00e2a0f202be1a7b75 /test/lax | |
parent | 45902fbbaa11e8c38944b38182afb92bc0641ec9 (diff) | |
download | serd-8f6d68365e0dccba13c588dd4180ea18fc9cda09.tar.gz serd-8f6d68365e0dccba13c588dd4180ea18fc9cda09.tar.bz2 serd-8f6d68365e0dccba13c588dd4180ea18fc9cda09.zip |
Factor out NTriples reader
Diffstat (limited to 'test/lax')
-rw-r--r-- | test/lax/manifest.ttl | 7 | ||||
-rw-r--r-- | test/lax/test-out-of-range-unicode.nt | 1 | ||||
-rw-r--r-- | test/lax/test-out-of-range-unicode.ttl | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/test/lax/manifest.ttl b/test/lax/manifest.ttl index b63da6d4..0d370f42 100644 --- a/test/lax/manifest.ttl +++ b/test/lax/manifest.ttl @@ -16,6 +16,7 @@ <#test-bad-utf8-nt> <#test-bad-utf8-nq> <#test-lone-list> + <#test-out-of-range-unicode> ) . <#test-bad-string-ttl> @@ -71,3 +72,9 @@ mf:name "test-lone-list" ; mf:action <test-lone-list.ttl> ; mf:result <test-lone-list.nt> . + +<#test-out-of-range-unicode> + rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "test-out-of-range-unicode" ; + mf:action <test-out-of-range-unicode.ttl> ; + mf:result <test-out-of-range-unicode.nt> . diff --git a/test/lax/test-out-of-range-unicode.nt b/test/lax/test-out-of-range-unicode.nt new file mode 100644 index 00000000..5def9e31 --- /dev/null +++ b/test/lax/test-out-of-range-unicode.nt @@ -0,0 +1 @@ +<http://example.org/thing> <http://example.org/character> "\uFFFD" . diff --git a/test/lax/test-out-of-range-unicode.ttl b/test/lax/test-out-of-range-unicode.ttl new file mode 100644 index 00000000..7e64785a --- /dev/null +++ b/test/lax/test-out-of-range-unicode.ttl @@ -0,0 +1 @@ +<http://example.org/thing> <http://example.org/character> "\U00110000" . |