aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-13 15:21:06 +0100
committerDavid Robillard <d@drobilla.net>2020-11-13 15:21:06 +0100
commitce9ee54f217b662725d24ddc077f006b45dbdf43 (patch)
treea5f12c150a2638150628756f27cb20691aa19d32
parent49bee1f121054802d7dc5f5a84ecde93d7002d20 (diff)
downloadserd-ce9ee54f217b662725d24ddc077f006b45dbdf43.tar.gz
serd-ce9ee54f217b662725d24ddc077f006b45dbdf43.tar.bz2
serd-ce9ee54f217b662725d24ddc077f006b45dbdf43.zip
Add failure test for unescaped quotes in URIs
-rw-r--r--test/bad/bad-quote-in-uri.ttl1
-rw-r--r--test/bad/manifest.ttl6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/bad/bad-quote-in-uri.ttl b/test/bad/bad-quote-in-uri.ttl
new file mode 100644
index 00000000..30711241
--- /dev/null
+++ b/test/bad/bad-quote-in-uri.ttl
@@ -0,0 +1 @@
+<http://example.org/"s"> <http://example.org/p> <http://example.org/o> . \ No newline at end of file
diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl
index e8ecb396..5f208983 100644
--- a/test/bad/manifest.ttl
+++ b/test/bad/manifest.ttl
@@ -66,6 +66,7 @@
<#bad-object>
<#bad-pn-escape>
<#bad-prefix>
+ <#bad-quote-in-uri>
<#bad-semicolon-after-subject>
<#bad-string>
<#bad-subject>
@@ -374,6 +375,11 @@
mf:name "bad-prefix" ;
mf:action <bad-prefix.ttl> .
+<#bad-quote-in-uri>
+ rdf:type rdft:TestTurtleNegativeSyntax ;
+ mf:name "bad-quote-in-uri" ;
+ mf:action <bad-quote-in-uri.ttl> .
+
<#bad-semicolon-after-subject>
rdf:type rdft:TestTurtleNegativeSyntax ;
mf:name "bad-semicolon-after-subject" ;