From 2bf875e89f98c64164f563a8d1fae2851d9c023c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Nov 2020 11:52:57 +0100 Subject: Refuse to write relative URI references to NTriples --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index c9ebcb23..4e13096a 100644 --- a/wscript +++ b/wscript @@ -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', ' a <#Thingie> .']) + check([serdi, '-s', ' a .']) 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', ' a .']) with tst.group('IoErrors', expected=1) as check: check([serdi, '-e', 'file://%s/' % srcdir], name='Read directory') -- cgit v1.2.1