diff options
author | David Robillard <d@drobilla.net> | 2018-11-17 20:36:36 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:42 -0500 |
commit | be39df43fe2edf19faa900fb28459148c2bd3b25 (patch) | |
tree | 5d7239924bcf5728a88e9bddf134589cf25bc4e9 | |
parent | da81e4dda0a60dd427553ce3143b06c08eaf7c9f (diff) | |
download | serd-be39df43fe2edf19faa900fb28459148c2bd3b25.tar.gz serd-be39df43fe2edf19faa900fb28459148c2bd3b25.tar.bz2 serd-be39df43fe2edf19faa900fb28459148c2bd3b25.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 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" ; |