aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-17 20:36:36 +0100
committerDavid Robillard <d@drobilla.net>2020-06-21 18:12:04 +0200
commit5c44e69fe6f801b7287276c7c2eb500197b087b2 (patch)
treec6dd36241039bb3d3f5f158cea8f71ab2ea08bef
parent6bb81f3596d96d8334a484cd3ebfdb10baab4861 (diff)
downloadserd-5c44e69fe6f801b7287276c7c2eb500197b087b2.tar.gz
serd-5c44e69fe6f801b7287276c7c2eb500197b087b2.tar.bz2
serd-5c44e69fe6f801b7287276c7c2eb500197b087b2.zip
Add test for bad blank graph labels
-rw-r--r--tests/bad/bad-graph-blank-label.trig3
-rw-r--r--tests/bad/manifest.ttl6
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/bad/bad-graph-blank-label.trig b/tests/bad/bad-graph-blank-label.trig
new file mode 100644
index 00000000..8b329db3
--- /dev/null
+++ b/tests/bad/bad-graph-blank-label.trig
@@ -0,0 +1,3 @@
+PREFIX : <http://example/>
+
+GRAPH [ :p :o ] { :s :p :o }
diff --git a/tests/bad/manifest.ttl b/tests/bad/manifest.ttl
index 4d543dd4..d294f120 100644
--- a/tests/bad/manifest.ttl
+++ b/tests/bad/manifest.ttl
@@ -47,6 +47,7 @@
<#bad-eof-in-uri-scheme>
<#bad-escape>
<#bad-ext-namedblank-op>
+ <#bad-graph-blank-label>
<#bad-hex-digit>
<#bad-id-clash>
<#bad-lang>
@@ -275,6 +276,11 @@
mf:name "bad-ext-namedblank-op" ;
mf:action <bad-ext-namedblank-op.ttl> .
+<#bad-graph-blank-label>
+ rdf:type rdft:TestTrigNegativeSyntax ;
+ mf:name "bad-graph-blank-label" ;
+ mf:action <bad-graph-blank-label.trig> .
+
<#bad-hex-digit>
rdf:type rdft:TestTurtleNegativeSyntax ;
mf:name "bad-hex-digit" ;