aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-17 20:36:36 +0100
committerDavid Robillard <d@drobilla.net>2018-11-25 22:12:47 +0100
commitef40c214af6c62b0646e05a28cecac0ca9a90992 (patch)
treeeb6aa7bedd35b61510344e4a13133c3df4f36cb9
parent42e9deaa801f657c09cef642d38f66b4bebf1a9c (diff)
downloadserd-ef40c214af6c62b0646e05a28cecac0ca9a90992.tar.gz
serd-ef40c214af6c62b0646e05a28cecac0ca9a90992.tar.bz2
serd-ef40c214af6c62b0646e05a28cecac0ca9a90992.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 bd51ba48..6719fd3a 100644
--- a/tests/bad/manifest.ttl
+++ b/tests/bad/manifest.ttl
@@ -43,6 +43,7 @@
<#bad-eof-in-uri>
<#bad-escape>
<#bad-ext-namedblank-op>
+ <#bad-graph-blank-label>
<#bad-hex-digit>
<#bad-id-clash>
<#bad-lang>
@@ -251,6 +252,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" ;