aboutsummaryrefslogtreecommitdiffstats
path: root/tests/TriGTests/trig-subm-12.trig
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-09-24 18:48:18 +0200
committerDavid Robillard <d@drobilla.net>2017-09-24 19:20:25 +0200
commita5824db519e84e8e45498e78502615d99b63d144 (patch)
tree4c59d39a78f9fb45dc2b7ff2b8a06c63f98983b6 /tests/TriGTests/trig-subm-12.trig
parent82b207f424549d319a85d2b332da9776588495c9 (diff)
downloadserd-a5824db519e84e8e45498e78502615d99b63d144.tar.gz
serd-a5824db519e84e8e45498e78502615d99b63d144.tar.bz2
serd-a5824db519e84e8e45498e78502615d99b63d144.zip
Make internal tests standard manifest-driven test suites
Diffstat (limited to 'tests/TriGTests/trig-subm-12.trig')
-rw-r--r--tests/TriGTests/trig-subm-12.trig19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/TriGTests/trig-subm-12.trig b/tests/TriGTests/trig-subm-12.trig
new file mode 100644
index 00000000..b0f8ff83
--- /dev/null
+++ b/tests/TriGTests/trig-subm-12.trig
@@ -0,0 +1,19 @@
+# Tests for - and _ in names, qnames
+@prefix ex1: <http://example.org/ex1#> .
+@prefix ex-2: <http://example.org/ex2#> .
+@prefix ex3_: <http://example.org/ex3#> .
+@prefix ex4-: <http://example.org/ex4#> .
+
+{
+ex1:foo-bar ex1:foo_bar "a" .
+ex-2:foo-bar ex-2:foo_bar "b" .
+ex3_:foo-bar ex3_:foo_bar "c" .
+ex4-:foo-bar ex4-:foo_bar "d" .
+}
+
+<http://example/graph> {
+ex1:foo-bar ex1:foo_bar "a" .
+ex-2:foo-bar ex-2:foo_bar "b" .
+ex3_:foo-bar ex3_:foo_bar "c" .
+ex4-:foo-bar ex4-:foo_bar "d" .
+}