diff options
author | David Robillard <d@drobilla.net> | 2023-04-06 09:43:55 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-06 09:43:55 -0400 |
commit | 1d8cdcef2cc4aaf2e45cfab01a390d6eab56d525 (patch) | |
tree | fa9a6d92451b3509e9a28682b972ea11df7500a5 /test/extra/good | |
parent | 8a11cfb36cb3eab26cea18c0006b0abac0413898 (diff) | |
download | serd-1d8cdcef2cc4aaf2e45cfab01a390d6eab56d525.tar.gz serd-1d8cdcef2cc4aaf2e45cfab01a390d6eab56d525.tar.bz2 serd-1d8cdcef2cc4aaf2e45cfab01a390d6eab56d525.zip |
Add test for different comment termination cases
Diffstat (limited to 'test/extra/good')
-rw-r--r-- | test/extra/good/manifest.ttl | 7 | ||||
-rw-r--r-- | test/extra/good/test-comment-whitespace.nt | 1 | ||||
-rw-r--r-- | test/extra/good/test-comment-whitespace.ttl | 5 |
3 files changed, 13 insertions, 0 deletions
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-changing-base.nt> . +<#test-comment-whitespace> + a rdft:TestTurtleEval ; + mf:action <test-comment-whitespace.ttl> ; + mf:name "test-comment-whitespace" ; + mf:result <test-comment-whitespace.nt> . + <#test-cr> a rdft:TestTurtleEval ; mf:action <test-cr.ttl> ; 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 @@ +<http://example.org/eg#s> <http://example.org/eg#p> <http://example.org/eg#o> . 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: <http://example.org/eg#> . + +# Ends in line feed +eg:s eg:p eg:o . +# Ends at EOF
\ No newline at end of file |