From 799a8bdd9cc3c30d08309e4f68dfe24c1569c6ff Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 17 Nov 2018 20:36:36 +0100 Subject: Add test for bad blank graph labels --- tests/bad/bad-graph-blank-label.trig | 3 +++ tests/bad/manifest.ttl | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/bad/bad-graph-blank-label.trig (limited to 'tests/bad') 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 : + +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-graph-blank-label> + rdf:type rdft:TestTrigNegativeSyntax ; + mf:name "bad-graph-blank-label" ; + mf:action . + <#bad-hex-digit> rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "bad-hex-digit" ; -- cgit v1.2.1