From 2976016031592d98a1277a2679d32af9024241dd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Aug 2017 12:53:29 +0200 Subject: Add tests for corrupt UTF-8 in prefixed names --- tests/bad/bad-char-in-local.ttl | 3 +++ tests/bad/bad-char-in-prefix.ttl | 1 + 2 files changed, 4 insertions(+) create mode 100644 tests/bad/bad-char-in-local.ttl create mode 100644 tests/bad/bad-char-in-prefix.ttl (limited to 'tests') diff --git a/tests/bad/bad-char-in-local.ttl b/tests/bad/bad-char-in-local.ttl new file mode 100644 index 00000000..6ad4a1ca --- /dev/null +++ b/tests/bad/bad-char-in-local.ttl @@ -0,0 +1,3 @@ +@prefix eg: . + +eg:bad† . diff --git a/tests/bad/bad-char-in-prefix.ttl b/tests/bad/bad-char-in-prefix.ttl new file mode 100644 index 00000000..b54e0274 --- /dev/null +++ b/tests/bad/bad-char-in-prefix.ttl @@ -0,0 +1 @@ +bad†:s . -- cgit v1.2.1