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-out-of-range-unicode.nt1
-rw-r--r--test/lax/test-out-of-range-unicode.ttl1
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" .