aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-prefix.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-24 22:44:52 +0000
committerDavid Robillard <d@drobilla.net>2011-12-24 22:44:52 +0000
commit15b033080ce2ebdd16fb01073bb5a5cf976527bb (patch)
tree9ad6ca420c9239ecd1f31ea04f5d0343c91fa7dc /tests/test-prefix.ttl
parentcc9f30fefe18284a2f05134e7fc2ecbada1722f7 (diff)
downloadserd-15b033080ce2ebdd16fb01073bb5a5cf976527bb.tar.gz
serd-15b033080ce2ebdd16fb01073bb5a5cf976527bb.tar.bz2
serd-15b033080ce2ebdd16fb01073bb5a5cf976527bb.zip
Allow digit as first character of prefixed name suffix (match latest Turtle spec).
Improve env.c test coverage. Add test case for ticket #734. git-svn-id: http://svn.drobilla.net/serd/trunk@271 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/test-prefix.ttl')
-rw-r--r--tests/test-prefix.ttl4
1 files changed, 4 insertions, 0 deletions
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