From 8f7782ddaae00a88c6dc4cef23d2dc419763a286 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Oct 2019 19:21:50 +0100 Subject: Add test case for base URI with no path --- tests/good/manifest.ttl | 7 +++++++ tests/good/test-base-nopath.nt | 1 + tests/good/test-base-nopath.ttl | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 tests/good/test-base-nopath.nt create mode 100644 tests/good/test-base-nopath.ttl diff --git a/tests/good/manifest.ttl b/tests/good/manifest.ttl index 9dccde7b..1a482f2d 100644 --- a/tests/good/manifest.ttl +++ b/tests/good/manifest.ttl @@ -18,6 +18,7 @@ <#test-30> <#test-a-without-whitespace> <#test-backspace> + <#test-base-nopath> <#test-base-query> <#test-blank-cont> <#test-blank-in-list> @@ -108,6 +109,12 @@ mf:action ; mf:result . +<#test-base-nopath> + rdf:type rdft:TestTurtleEval ; + mf:name "test-base-nopath" ; + mf:action ; + mf:result . + <#test-base-query> rdf:type rdft:TestTurtleEval ; mf:name "test-base-query" ; diff --git a/tests/good/test-base-nopath.nt b/tests/good/test-base-nopath.nt new file mode 100644 index 00000000..8628a30b --- /dev/null +++ b/tests/good/test-base-nopath.nt @@ -0,0 +1 @@ + . diff --git a/tests/good/test-base-nopath.ttl b/tests/good/test-base-nopath.ttl new file mode 100644 index 00000000..8735936a --- /dev/null +++ b/tests/good/test-base-nopath.ttl @@ -0,0 +1,3 @@ +@base . + +

. -- cgit v1.2.1