diff options
author | David Robillard <d@drobilla.net> | 2017-08-28 12:53:29 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-08-28 12:53:29 +0200 |
commit | 2976016031592d98a1277a2679d32af9024241dd (patch) | |
tree | baa39f420c3542e5ac1c237ce103bc8c0034053c | |
parent | 91650728254f98e5949b28e3ad7bdac29047d2ae (diff) | |
download | serd-2976016031592d98a1277a2679d32af9024241dd.tar.gz serd-2976016031592d98a1277a2679d32af9024241dd.tar.bz2 serd-2976016031592d98a1277a2679d32af9024241dd.zip |
Add tests for corrupt UTF-8 in prefixed names
-rw-r--r-- | tests/bad/bad-char-in-local.ttl | 3 | ||||
-rw-r--r-- | tests/bad/bad-char-in-prefix.ttl | 1 |
2 files changed, 4 insertions, 0 deletions
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: <http://example.org/> . + +eg:bad† <http://example.org/p> <http://example.org/o> . 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 <http://example.org/p> <http://example.org/o> . |