diff options
author | David Robillard <d@drobilla.net> | 2018-11-17 20:36:36 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:49 -0500 |
commit | 79af3ce1db50728bd88e8b236543d3903cc0bec0 (patch) | |
tree | 166f5fcb255be806ee0c5435e5d0fe99ea7cbacb | |
parent | fcc49e5e55e089234d5535c5a489a4e97abedf08 (diff) | |
download | serd-79af3ce1db50728bd88e8b236543d3903cc0bec0.tar.gz serd-79af3ce1db50728bd88e8b236543d3903cc0bec0.tar.bz2 serd-79af3ce1db50728bd88e8b236543d3903cc0bec0.zip |
Add test for bad blank graph labels
-rw-r--r-- | tests/bad/bad-graph-blank-label.trig | 3 | ||||
-rw-r--r-- | tests/bad/manifest.ttl | 6 |
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" ; |