aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/good
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-24 15:12:05 -0400
committerDavid Robillard <d@drobilla.net>2024-06-25 15:54:43 -0400
commit51cc405d288a078543523efd380ce3c7d11ac501 (patch)
tree48d3b3263e966cc46c0667fd40212304cb70cbde /test/extra/good
parent2f51df8eed40bb808dce0ce1d5ba218a1b2b0071 (diff)
downloadserd-51cc405d288a078543523efd380ce3c7d11ac501.tar.gz
serd-51cc405d288a078543523efd380ce3c7d11ac501.tar.bz2
serd-51cc405d288a078543523efd380ce3c7d11ac501.zip
Improve test suite coverage
Diffstat (limited to 'test/extra/good')
-rw-r--r--test/extra/good/manifest.ttl7
-rw-r--r--test/extra/good/test-local-name-percent.nt2
-rw-r--r--test/extra/good/test-local-name-percent.ttl4
3 files changed, 13 insertions, 0 deletions
diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl
index 5e7458ec..350d7d9c 100644
--- a/test/extra/good/manifest.ttl
+++ b/test/extra/good/manifest.ttl
@@ -30,6 +30,7 @@
<#test-list-subject>
<#test-local-name-ends-with-dot>
<#test-local-name-escapes>
+ <#test-local-name-percent>
<#test-long-utf8>
<#test-no-spaces>
<#test-non-curie-uri>
@@ -203,6 +204,12 @@
mf:name "test-local-name-escapes" ;
mf:result <test-local-name-escapes.nt> .
+<#test-local-name-percent>
+ a rdft:TestTurtleEval ;
+ mf:action <test-local-name-percent.ttl> ;
+ mf:name "test-local-name-percent" ;
+ mf:result <test-local-name-percent.nt> .
+
<#test-long-utf8>
a rdft:TestTurtleEval ;
mf:action <test-long-utf8.ttl> ;
diff --git a/test/extra/good/test-local-name-percent.nt b/test/extra/good/test-local-name-percent.nt
new file mode 100644
index 00000000..e6330547
--- /dev/null
+++ b/test/extra/good/test-local-name-percent.nt
@@ -0,0 +1,2 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/o%3E> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o%3f> .
diff --git a/test/extra/good/test-local-name-percent.ttl b/test/extra/good/test-local-name-percent.ttl
new file mode 100644
index 00000000..32fb63d5
--- /dev/null
+++ b/test/extra/good/test-local-name-percent.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/> .
+
+eg:s eg:p eg:o%3E .
+eg:s eg:p eg:o%3f .