aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-02-04 18:31:28 +0100
committerDavid Robillard <d@drobilla.net>2018-02-04 18:31:28 +0100
commit3be4a57eaa6df2961819840896d27a7c5175ccff (patch)
treeb198107ce046a1397a6b2cbb2a755987517b6869
parentde6805925ffa661f47489c378393623c2d3668fa (diff)
downloadserd-3be4a57eaa6df2961819840896d27a7c5175ccff.tar.gz
serd-3be4a57eaa6df2961819840896d27a7c5175ccff.tar.bz2
serd-3be4a57eaa6df2961819840896d27a7c5175ccff.zip
Add test for qualifying URIs
-rw-r--r--tests/good/qualify-in.ttl3
-rw-r--r--tests/good/qualify-out.ttl5
-rw-r--r--wscript1
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/good/qualify-in.ttl b/tests/good/qualify-in.ttl
new file mode 100644
index 00000000..d938b7bd
--- /dev/null
+++ b/tests/good/qualify-in.ttl
@@ -0,0 +1,3 @@
+@prefix eg: <http://example.org/> .
+
+<http://example.org/s> <http://example.org/p> <http://example.org/o> .
diff --git a/tests/good/qualify-out.ttl b/tests/good/qualify-out.ttl
new file mode 100644
index 00000000..97f67a53
--- /dev/null
+++ b/tests/good/qualify-out.ttl
@@ -0,0 +1,5 @@
+@prefix eg: <http://example.org/> .
+
+eg:s
+ eg:p eg:o .
+
diff --git a/wscript b/wscript
index 85e6276b..fdadf860 100644
--- a/wscript
+++ b/wscript
@@ -430,6 +430,7 @@ def test(ctx):
True, name=in_name + '-check')
test_ttl('base', 'base')
+ test_ttl('qualify-in', 'qualify-out')
nul = os.devnull
autowaf.run_tests(ctx, APPNAME, [