diff options
author | David Robillard <d@drobilla.net> | 2020-11-14 11:52:57 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-14 11:54:54 +0100 |
commit | 2bf875e89f98c64164f563a8d1fae2851d9c023c (patch) | |
tree | 7ae6acaa6ee6c272e95e0c257d3c7e922968a0a0 /wscript | |
parent | 6be4a34047af74c984dc644b4157da0b45c6dd83 (diff) | |
download | serd-2bf875e89f98c64164f563a8d1fae2851d9c023c.tar.gz serd-2bf875e89f98c64164f563a8d1fae2851d9c023c.tar.bz2 serd-2bf875e89f98c64164f563a8d1fae2851d9c023c.zip |
Refuse to write relative URI references to NTriples
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -588,7 +588,7 @@ def test(tst): check([serdi, '%s/serd.ttl' % srcdir], stdout=os.devnull) check([serdi, '-v']) check([serdi, '-h']) - check([serdi, '-s', '<foo> a <#Thingie> .']) + check([serdi, '-s', '<urn:eg:s> a <urn:eg:T> .']) check([serdi, os.devnull]) with tempfile.TemporaryFile(mode='r') as stdin: check([serdi, '-'], stdin=stdin) @@ -609,6 +609,7 @@ def test(tst): check([serdi, '-q', '%s/test/bad/bad-base.ttl' % srcdir], stderr=None) check([serdi, '-r']) check([serdi, '-z']) + check([serdi, '-s', '<foo> a <Bar> .']) with tst.group('IoErrors', expected=1) as check: check([serdi, '-e', 'file://%s/' % srcdir], name='Read directory') |