aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bad
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-15 22:06:37 +0200
committerDavid Robillard <d@drobilla.net>2020-08-16 13:56:40 +0200
commit53dbd6f360fcca3bac8d5f9f49a4980d3deef10e (patch)
tree1092a202246e16071145c28090b837ba459ccb97 /tests/bad
parent6a9db19eb786b51cf1aea232ae7af72b35ac834a (diff)
downloadserd-53dbd6f360fcca3bac8d5f9f49a4980d3deef10e.tar.gz
serd-53dbd6f360fcca3bac8d5f9f49a4980d3deef10e.tar.bz2
serd-53dbd6f360fcca3bac8d5f9f49a4980d3deef10e.zip
Fix handling of bad syntax that ends a collection
Diffstat (limited to 'tests/bad')
-rw-r--r--tests/bad/bad-dot-in-collection.ttl1
-rw-r--r--tests/bad/manifest.ttl6
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/bad/bad-dot-in-collection.ttl b/tests/bad/bad-dot-in-collection.ttl
new file mode 100644
index 00000000..d2d35bc2
--- /dev/null
+++ b/tests/bad/bad-dot-in-collection.ttl
@@ -0,0 +1 @@
+[ <http://example.org/p> (1.
diff --git a/tests/bad/manifest.ttl b/tests/bad/manifest.ttl
index 2c103a84..e8ecb396 100644
--- a/tests/bad/manifest.ttl
+++ b/tests/bad/manifest.ttl
@@ -30,6 +30,7 @@
<#bad-char-in-uri>
<#bad-datatype>
<#bad-dot-after-subject>
+ <#bad-dot-in-collection>
<#bad-eof-after-quotes>
<#bad-eof-at-string-start>
<#bad-eof-in-blank>
@@ -193,6 +194,11 @@
mf:name "bad-dot-after-subject" ;
mf:action <bad-dot-after-subject.ttl> .
+<#bad-dot-in-collection>
+ rdf:type rdft:TestTurtleNegativeSyntax ;
+ mf:name "bad-dot-in-collection" ;
+ mf:action <bad-dot-in-collection.ttl> .
+
<#bad-eof-after-quotes>
rdf:type rdft:TestTurtleNegativeSyntax ;
mf:name "bad-eof-after-quotes" ;