From 365397d3a1dd95aa7bfdc8d70983c390aa309d17 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 25 Feb 2025 17:59:49 -0500 Subject: Fix reading prefix names that start with "true." or "false." --- test/extra/good/manifest.ttl | 7 +++++++ test/extra/good/test-boolish-prefix.nt | 2 ++ test/extra/good/test-boolish-prefix.ttl | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 test/extra/good/test-boolish-prefix.nt create mode 100644 test/extra/good/test-boolish-prefix.ttl (limited to 'test') diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl index 2ac0ba59..2e3a64af 100644 --- a/test/extra/good/manifest.ttl +++ b/test/extra/good/manifest.ttl @@ -16,6 +16,7 @@ <#test-blank-node-statement> <#test-blankdot> <#test-bom> + <#test-boolish-prefix> <#test-changing-base> <#test-comment-whitespace> <#test-cr> @@ -125,6 +126,12 @@ mf:name "test-bom" ; mf:result . +<#test-boolish-prefix> + a rdft:TestTurtleEval ; + mf:action ; + mf:name "test-boolish-prefix" ; + mf:result . + <#test-changing-base> a rdft:TestTurtleEval ; mf:action ; diff --git a/test/extra/good/test-boolish-prefix.nt b/test/extra/good/test-boolish-prefix.nt new file mode 100644 index 00000000..d49eeab2 --- /dev/null +++ b/test/extra/good/test-boolish-prefix.nt @@ -0,0 +1,2 @@ + . + . diff --git a/test/extra/good/test-boolish-prefix.ttl b/test/extra/good/test-boolish-prefix.ttl new file mode 100644 index 00000000..81ffdf11 --- /dev/null +++ b/test/extra/good/test-boolish-prefix.ttl @@ -0,0 +1,5 @@ +@prefix false.ish: . +@prefix true.ish: . + + false.ish:o . + true.ish:o . -- cgit v1.2.1