aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test-uri.out4
-rw-r--r--tests/test-uri.ttl7
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/test-uri.out b/tests/test-uri.out
index 546d121e..6d717fdd 100644
--- a/tests/test-uri.out
+++ b/tests/test-uri.out
@@ -21,3 +21,7 @@
<http://a/> <http://www.w3.org/2002/07/owl#sameAs> <http://a/> .
<http://a/> <http://www.w3.org/2002/07/owl#sameAs> <http://a/> .
<http://a/g> <http://www.w3.org/2002/07/owl#sameAs> <http://a/g> .
+<http://A?aquery> <http://www.w3.org/2002/07/owl#sameAs> <http://A?aquery> .
+<http://A#afragment> <http://www.w3.org/2002/07/owl#sameAs> <http://A#afragment> .
+<http://a/b/c/d;p?aquery> <http://www.w3.org/2002/07/owl#sameAs> <http://a/b/c/d;p?aquery> .
+<http://a/b/c/d;p?q#afragment> <http://www.w3.org/2002/07/owl#sameAs> <http://a/b/c/d;p?q#afragment> .
diff --git a/tests/test-uri.ttl b/tests/test-uri.ttl
index 2a85aadd..d2b4711d 100644
--- a/tests/test-uri.ttl
+++ b/tests/test-uri.ttl
@@ -28,3 +28,10 @@
<../..> owl:sameAs <http://a/> .
<../../> owl:sameAs <http://a/> .
<../../g> owl:sameAs <http://a/g> .
+
+# Additional tests for Serd
+<http://A?aquery> owl:sameAs <http://A?aquery> .
+<http://A#afragment> owl:sameAs <http://A#afragment> .
+<?aquery> owl:sameAs <http://a/b/c/d;p?aquery> .
+<#afragment> owl:sameAs <http://a/b/c/d;p?q#afragment> .
+