From 8f6d68365e0dccba13c588dd4180ea18fc9cda09 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Jun 2021 20:59:28 -0400 Subject: Factor out NTriples reader --- test/lax/manifest.ttl | 7 +++++++ test/lax/test-out-of-range-unicode.nt | 1 + test/lax/test-out-of-range-unicode.ttl | 1 + 3 files changed, 9 insertions(+) create mode 100644 test/lax/test-out-of-range-unicode.nt create mode 100644 test/lax/test-out-of-range-unicode.ttl (limited to 'test/lax') 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 ; mf:result . + +<#test-out-of-range-unicode> + rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "test-out-of-range-unicode" ; + mf:action ; + mf:result . 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 @@ + "\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 @@ + "\U00110000" . -- cgit v1.2.1