aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-14 15:51:18 +0200
committerDavid Robillard <d@drobilla.net>2020-08-14 19:07:52 +0200
commit1214fbe49313c2b33b118f8aa3f15dbc2473d8e5 (patch)
tree47d20303a8dc3cd6e2407b9b7757f95608a42f1a
parent4b50e6ebdab57433fa60c2376719e51c79de7fe9 (diff)
downloadserd-1214fbe49313c2b33b118f8aa3f15dbc2473d8e5.tar.gz
serd-1214fbe49313c2b33b118f8aa3f15dbc2473d8e5.tar.bz2
serd-1214fbe49313c2b33b118f8aa3f15dbc2473d8e5.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" ;