aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bad-escape.ttl1
-rw-r--r--tests/test-bad-utf8.out2
-rw-r--r--tests/test-bad-utf8.ttl2
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/bad-escape.ttl b/tests/bad-escape.ttl
new file mode 100644
index 00000000..0fd6c5bf
--- /dev/null
+++ b/tests/bad-escape.ttl
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/comment> "\!" .
diff --git a/tests/test-bad-utf8.out b/tests/test-bad-utf8.out
new file mode 100644
index 00000000..df2ada0d
--- /dev/null
+++ b/tests/test-bad-utf8.out
@@ -0,0 +1,2 @@
+<http://example.org/thing> <http://example.org/comment> "Impossible bytes: \uFFFD \uFFFD" .
+<http://example.org/thing> <http://example.org/comment> "2 continuation bytes: \uFFFD" .
diff --git a/tests/test-bad-utf8.ttl b/tests/test-bad-utf8.ttl
new file mode 100644
index 00000000..e3c9ae81
--- /dev/null
+++ b/tests/test-bad-utf8.ttl
@@ -0,0 +1,2 @@
+<http://example.org/thing> <http://example.org/comment> "Impossible bytes: þ ÿ" .
+<http://example.org/thing> <http://example.org/comment> "2 continuation bytes: €¿" .