aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/bad
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-09 16:39:40 -0400
committerDavid Robillard <d@drobilla.net>2024-06-09 16:49:29 -0400
commit8f94d1b38df369c9316b499bf9434cf89c825098 (patch)
tree0222f19a79adacf5460b4fddc6e22734081b86f3 /test/extra/bad
parentecf1f7340a9718199a8e965ffc2f738c7d87f055 (diff)
downloadserd-8f94d1b38df369c9316b499bf9434cf89c825098.tar.gz
serd-8f94d1b38df369c9316b499bf9434cf89c825098.tar.bz2
serd-8f94d1b38df369c9316b499bf9434cf89c825098.zip
Add test cases for special characters in local names
Diffstat (limited to 'test/extra/bad')
-rw-r--r--test/extra/bad/bad-prefix-dot.ttl1
-rw-r--r--test/extra/bad/manifest.ttl8
2 files changed, 8 insertions, 1 deletions
diff --git a/test/extra/bad/bad-prefix-dot.ttl b/test/extra/bad/bad-prefix-dot.ttl
new file mode 100644
index 00000000..7b02211f
--- /dev/null
+++ b/test/extra/bad/bad-prefix-dot.ttl
@@ -0,0 +1 @@
+@prefix dotted.: <http://example.org/> .
diff --git a/test/extra/bad/manifest.ttl b/test/extra/bad/manifest.ttl
index 6b6df540..7e35e5ff 100644
--- a/test/extra/bad/manifest.ttl
+++ b/test/extra/bad/manifest.ttl
@@ -113,8 +113,9 @@
<#bad-object2>
<#bad-paths>
<#bad-pn-escape>
- <#bad-prefix-missing-colon>
<#bad-prefix>
+ <#bad-prefix-dot>
+ <#bad-prefix-missing-colon>
<#bad-quote-in-uri>
<#bad-semicolon-after-subject>
<#bad-string>
@@ -669,6 +670,11 @@
mf:action <bad-prefix.ttl> ;
mf:name "bad-prefix" .
+<#bad-prefix-dot>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-prefix-dot.ttl> ;
+ mf:name "bad-prefix-dot" .
+
<#bad-prefix-missing-colon>
a rdft:TestTurtleNegativeSyntax ;
mf:action <bad-prefix-missing-colon.ttl> ;