From 611094ffa4014ba34e6f2c8dc083878ab6073411 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Mar 2019 13:02:58 +0100 Subject: Fix parsing "a" abbreviation without padding whitespace --- tests/good/manifest.ttl | 7 +++++++ tests/good/test-a-without-whitespace.nt | 6 ++++++ tests/good/test-a-without-whitespace.ttl | 6 ++++++ 3 files changed, 19 insertions(+) create mode 100644 tests/good/test-a-without-whitespace.nt create mode 100644 tests/good/test-a-without-whitespace.ttl (limited to 'tests/good') diff --git a/tests/good/manifest.ttl b/tests/good/manifest.ttl index 25afdd5f..dd83a7e5 100644 --- a/tests/good/manifest.ttl +++ b/tests/good/manifest.ttl @@ -16,6 +16,7 @@ <#test-16> <#test-18> <#test-30> + <#test-a-without-whitespace> <#test-backspace> <#test-bad-utf8> <#test-base-query> @@ -96,6 +97,12 @@ mf:action ; mf:result . +<#test-a-without-whitespace> + rdf:type rdft:TestTurtleEval ; + mf:name "test-a-without-whitespace" ; + mf:action ; + mf:result . + <#test-backspace> rdf:type rdft:TestTurtleEval ; mf:name "test-backspace" ; diff --git a/tests/good/test-a-without-whitespace.nt b/tests/good/test-a-without-whitespace.nt new file mode 100644 index 00000000..27c5e7da --- /dev/null +++ b/tests/good/test-a-without-whitespace.nt @@ -0,0 +1,6 @@ +_:b1 . +_:b2 _:b3 . +_:b4 . + . + _:b5 . + . diff --git a/tests/good/test-a-without-whitespace.ttl b/tests/good/test-a-without-whitespace.ttl new file mode 100644 index 00000000..2d6db000 --- /dev/null +++ b/tests/good/test-a-without-whitespace.ttl @@ -0,0 +1,6 @@ +[a]. +[a[]]. +[a()]. +a. +a[]. +a(). -- cgit v1.2.1