From 35b439b93c968356915b856dd8f77df9dad11cda Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Nov 2018 13:59:57 +0100 Subject: Add test for writing URIs that can not be shortened --- tests/good/manifest.nt | 28 +++++++++++++++++----------- tests/good/manifest.ttl | 7 +++++++ tests/good/test-non-curie-uri.nt | 1 + tests/good/test-non-curie-uri.ttl | 3 +++ 4 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 tests/good/test-non-curie-uri.nt create mode 100644 tests/good/test-non-curie-uri.ttl (limited to 'tests') diff --git a/tests/good/manifest.nt b/tests/good/manifest.nt index 553c193e..c15d6440 100644 --- a/tests/good/manifest.nt +++ b/tests/good/manifest.nt @@ -71,26 +71,28 @@ _:b34 _:b35 . _:b35 . _:b35 _:b36 . -_:b36 . +_:b36 . _:b36 _:b37 . -_:b37 . +_:b37 . _:b37 _:b38 . -_:b38 . +_:b38 . _:b38 _:b39 . -_:b39 . +_:b39 . _:b39 _:b40 . -_:b40 . +_:b40 . _:b40 _:b41 . -_:b41 . +_:b41 . _:b41 _:b42 . -_:b42 . +_:b42 . _:b42 _:b43 . -_:b43 . +_:b43 . _:b43 _:b44 . -_:b44 . +_:b44 . _:b44 _:b45 . -_:b45 . -_:b45 . +_:b45 . +_:b45 _:b46 . +_:b46 . +_:b46 . . "test-14" . . @@ -230,6 +232,10 @@ _:b45 "test-no-spaces" . . . + . + "test-non-curie-uri" . + . + . . "test-num" . . diff --git a/tests/good/manifest.ttl b/tests/good/manifest.ttl index 72012bbc..15897f9d 100644 --- a/tests/good/manifest.ttl +++ b/tests/good/manifest.ttl @@ -42,6 +42,7 @@ <#test-list> <#test-long-string> <#test-no-spaces> + <#test-non-curie-uri> <#test-num> <#test-out-of-range-unicode> <#test-prefix> @@ -263,6 +264,12 @@ mf:action ; mf:result . +<#test-non-curie-uri> + rdf:type rdft:TestTurtleEval ; + mf:name "test-non-curie-uri" ; + mf:action ; + mf:result . + <#test-num> rdf:type rdft:TestTurtleEval ; mf:name "test-num" ; diff --git a/tests/good/test-non-curie-uri.nt b/tests/good/test-non-curie-uri.nt new file mode 100644 index 00000000..502a8754 --- /dev/null +++ b/tests/good/test-non-curie-uri.nt @@ -0,0 +1 @@ + . diff --git a/tests/good/test-non-curie-uri.ttl b/tests/good/test-non-curie-uri.ttl new file mode 100644 index 00000000..40734514 --- /dev/null +++ b/tests/good/test-non-curie-uri.ttl @@ -0,0 +1,3 @@ +@prefix eg: . + +eg:s eg:p . -- cgit v1.2.1