aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bad-eof-in-escape.ttl2
-rw-r--r--tests/bad-hex-escape.ttl1
-rw-r--r--tests/test-out-of-range-unicode.out1
-rw-r--r--tests/test-out-of-range-unicode.ttl1
4 files changed, 3 insertions, 2 deletions
diff --git a/tests/bad-eof-in-escape.ttl b/tests/bad-eof-in-escape.ttl
index d60acd15..d3af9c93 100644
--- a/tests/bad-eof-in-escape.ttl
+++ b/tests/bad-eof-in-escape.ttl
@@ -1,3 +1,3 @@
@prefix eg: <http://example.org> .
-<> eg:comment """Hello"" \ No newline at end of file
+<> eg:comment """\uA \ No newline at end of file
diff --git a/tests/bad-hex-escape.ttl b/tests/bad-hex-escape.ttl
deleted file mode 100644
index ba6ff5b9..00000000
--- a/tests/bad-hex-escape.ttl
+++ /dev/null
@@ -1 +0,0 @@
-<http://example.org/thing> <http://example.org/comment> "\UFFFFFFFF" .
diff --git a/tests/test-out-of-range-unicode.out b/tests/test-out-of-range-unicode.out
new file mode 100644
index 00000000..5def9e31
--- /dev/null
+++ b/tests/test-out-of-range-unicode.out
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/character> "\uFFFD" .
diff --git a/tests/test-out-of-range-unicode.ttl b/tests/test-out-of-range-unicode.ttl
new file mode 100644
index 00000000..7e64785a
--- /dev/null
+++ b/tests/test-out-of-range-unicode.ttl
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/character> "\U00110000" .