aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-04-14 16:36:06 +0200
committerDavid Robillard <d@drobilla.net>2017-04-14 20:58:03 +0200
commitadea993fb14ddfd01191b3008ad5b2675f0fbc06 (patch)
treee7a46a96460c13b87a4d719395b1b6541b3fc14f /tests
parent73f522a99d261248cf0bcfdd861287a8b5ffa0af (diff)
downloadserd-adea993fb14ddfd01191b3008ad5b2675f0fbc06.tar.gz
serd-adea993fb14ddfd01191b3008ad5b2675f0fbc06.tar.bz2
serd-adea993fb14ddfd01191b3008ad5b2675f0fbc06.zip
Add test for corrupt BOMs
Diffstat (limited to 'tests')
-rw-r--r--tests/bad/bad-bom.ttl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bad/bad-bom.ttl b/tests/bad/bad-bom.ttl
new file mode 100644
index 00000000..67993884
--- /dev/null
+++ b/tests/bad/bad-bom.ttl
@@ -0,0 +1,3 @@
+ﻴ# This file starts with the first two bytes of the UTF-8 Byte Order Mark
+
+<http://example.org/thing> a <http://example.org/Thing> .