From 1d8cdcef2cc4aaf2e45cfab01a390d6eab56d525 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 6 Apr 2023 09:43:55 -0400 Subject: Add test for different comment termination cases --- test/extra/good/manifest.ttl | 7 +++++++ test/extra/good/test-comment-whitespace.nt | 1 + test/extra/good/test-comment-whitespace.ttl | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 test/extra/good/test-comment-whitespace.nt create mode 100644 test/extra/good/test-comment-whitespace.ttl (limited to 'test/extra') diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl index 28c371a8..24b301e9 100644 --- a/test/extra/good/manifest.ttl +++ b/test/extra/good/manifest.ttl @@ -17,6 +17,7 @@ <#test-blankdot> <#test-bom> <#test-changing-base> + <#test-comment-whitespace> <#test-cr> <#test-digit-start-pname> <#test-double> @@ -106,6 +107,12 @@ mf:name "test-changing-base" ; mf:result . +<#test-comment-whitespace> + a rdft:TestTurtleEval ; + mf:action ; + mf:name "test-comment-whitespace" ; + mf:result . + <#test-cr> a rdft:TestTurtleEval ; mf:action ; diff --git a/test/extra/good/test-comment-whitespace.nt b/test/extra/good/test-comment-whitespace.nt new file mode 100644 index 00000000..bef8ec87 --- /dev/null +++ b/test/extra/good/test-comment-whitespace.nt @@ -0,0 +1 @@ + . diff --git a/test/extra/good/test-comment-whitespace.ttl b/test/extra/good/test-comment-whitespace.ttl new file mode 100644 index 00000000..2ba9aecc --- /dev/null +++ b/test/extra/good/test-comment-whitespace.ttl @@ -0,0 +1,5 @@ +@prefix eg: . + +# Ends in line feed +eg:s eg:p eg:o . +# Ends at EOF \ No newline at end of file -- cgit v1.2.1