From b244d0ec5895ff15d52f12704e5f336ad37b4473 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Aug 2020 01:44:03 +0200 Subject: Refuse to write relative URIRefs to NTriples --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index f591cc91..1a6998ca 100644 --- a/wscript +++ b/wscript @@ -737,7 +737,7 @@ def test(tst): check([serdi, '%s/serd.ttl' % srcdir], stdout=os.devnull) check([serdi, '-v']) check([serdi, '-h']) - check([serdi, '-k', '512', '-s', ' a <#Thingie> .']) + check([serdi, '-k', '512', '-s', ' a .']) check([serdi, os.devnull]) with tempfile.TemporaryFile(mode='r') as stdin: @@ -792,6 +792,7 @@ def test(tst): check([serdi, '-s']) check([serdi, '-z']) check([serdi] + ['%s/tests/bad/bad-base.ttl' % srcdir] * 2) + 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