aboutsummaryrefslogtreecommitdiffstats
path: root/test/bad
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-06-30 13:34:31 -0400
committerDavid Robillard <d@drobilla.net>2022-01-14 19:37:51 -0500
commit840139223c77dba90b5ef92537e6c982b000c196 (patch)
treea74a28b585a090b58a60d8dcc7dc5095f403974e /test/bad
parent88e9a65720f64788e99e0ff96d5e3b9e7db94e8c (diff)
downloadserd-840139223c77dba90b5ef92537e6c982b000c196.tar.gz
serd-840139223c77dba90b5ef92537e6c982b000c196.tar.bz2
serd-840139223c77dba90b5ef92537e6c982b000c196.zip
Factor out UTF-8 reading utilities
Diffstat (limited to 'test/bad')
-rw-r--r--test/bad/bad-eof-in-character.ttl3
-rw-r--r--test/bad/manifest.ttl6
2 files changed, 9 insertions, 0 deletions
diff --git a/test/bad/bad-eof-in-character.ttl b/test/bad/bad-eof-in-character.ttl
new file mode 100644
index 00000000..a614803a
--- /dev/null
+++ b/test/bad/bad-eof-in-character.ttl
@@ -0,0 +1,3 @@
+@prefix eg: <http://example.org/> .
+
+<> eg:comment "Only the leading byte à \ No newline at end of file
diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl
index 466a4435..d024dccc 100644
--- a/test/bad/manifest.ttl
+++ b/test/bad/manifest.ttl
@@ -34,6 +34,7 @@
<#bad-eof-after-quotes>
<#bad-eof-at-string-start>
<#bad-eof-in-blank>
+ <#bad-eof-in-character>
<#bad-eof-in-escape>
<#bad-eof-in-lang-suffix>
<#bad-eof-in-lang>
@@ -215,6 +216,11 @@
mf:name "bad-eof-in-blank" ;
mf:action <bad-eof-in-blank.ttl> .
+<#bad-eof-in-character>
+ rdf:type rdft:TestTurtleNegativeSyntax ;
+ mf:name "bad-eof-in-character" ;
+ mf:action <bad-eof-in-character.ttl> .
+
<#bad-eof-in-escape>
rdf:type rdft:TestTurtleNegativeSyntax ;
mf:name "bad-eof-in-escape" ;