aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-prefix.out2
-rw-r--r--tests/test-prefix.ttl4
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-prefix.out b/tests/test-prefix.out
new file mode 100644
index 00000000..9e166588
--- /dev/null
+++ b/tests/test-prefix.out
@@ -0,0 +1,2 @@
+<http://example.org/a/b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
+<http://example.org/a/b/c> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
diff --git a/tests/test-prefix.ttl b/tests/test-prefix.ttl
new file mode 100644
index 00000000..a1d22122
--- /dev/null
+++ b/tests/test-prefix.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/a/> .
+
+<http://example.org/a/b> a <http://example.org/Thing> .
+<http://example.org/a/b/c> a <http://example.org/Thing> . \ No newline at end of file