diff options
author | David Robillard <d@drobilla.net> | 2024-02-07 18:51:15 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-03-08 17:13:28 -0500 |
commit | 37723be4c8b49b785c40fe5ccd34edbc7c018e1b (patch) | |
tree | 4c784a3384c2574b5eb89f2b3efc90132b202aa5 /test | |
parent | 9caf3ec7c867795c475a42c72c6a4aa3f41104b7 (diff) | |
download | serd-37723be4c8b49b785c40fe5ccd34edbc7c018e1b.tar.gz serd-37723be4c8b49b785c40fe5ccd34edbc7c018e1b.tar.bz2 serd-37723be4c8b49b785c40fe5ccd34edbc7c018e1b.zip |
Fix parsing NQuads lines with no space before the final dot
Diffstat (limited to 'test')
-rw-r--r-- | test/extra/good/manifest.ttl | 12 | ||||
-rw-r--r-- | test/extra/good/test-nq-syntax-dot-end.nq | 5 | ||||
-rw-r--r-- | test/extra/good/test-nt-syntax-dot-end.nt | 5 |
3 files changed, 22 insertions, 0 deletions
diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl index 24b301e9..5f4e8761 100644 --- a/test/extra/good/manifest.ttl +++ b/test/extra/good/manifest.ttl @@ -31,6 +31,8 @@ <#test-long-utf8> <#test-no-spaces> <#test-non-curie-uri> + <#test-nq-syntax-dot-end> + <#test-nt-syntax-dot-end> <#test-out-of-range-unicode> <#test-prefix> <#test-quote-escapes> @@ -191,6 +193,16 @@ mf:name "test-non-curie-uri" ; mf:result <test-non-curie-uri.nt> . +<#test-nq-syntax-dot-end> + a rdft:TestNQuadsPositiveSyntax ; + mf:action <test-nq-syntax-dot-end.nq> ; + mf:name "test-nq-syntax-dot-end" . + +<#test-nt-syntax-dot-end> + a rdft:TestNQuadsPositiveSyntax ; + mf:action <test-nt-syntax-dot-end.nt> ; + mf:name "test-nt-syntax-dot-end" . + <#test-out-of-range-unicode> a rdft:TestTurtleEval ; mf:action <test-out-of-range-unicode.ttl> ; diff --git a/test/extra/good/test-nq-syntax-dot-end.nq b/test/extra/good/test-nq-syntax-dot-end.nq new file mode 100644 index 00000000..862e326c --- /dev/null +++ b/test/extra/good/test-nq-syntax-dot-end.nq @@ -0,0 +1,5 @@ +<http://example/s> <http://example/p> _:o _:g . +<http://example/s> <http://example/p> _:o _:g . +<http://example/s> <http://example/p> _:o _:h. +<http://example/s> <http://example/p> _:o _:h. +<http://example/s> <http://example/p> _:o _:what.how.
\ No newline at end of file diff --git a/test/extra/good/test-nt-syntax-dot-end.nt b/test/extra/good/test-nt-syntax-dot-end.nt new file mode 100644 index 00000000..f4e3b874 --- /dev/null +++ b/test/extra/good/test-nt-syntax-dot-end.nt @@ -0,0 +1,5 @@ +<http://example/s> <http://example/p> _:o . +<http://example/s> <http://example/p> _:o . +<http://example/s> <http://example/p> _:o. +<http://example/s> <http://example/p> _:o. +<http://example/s> <http://example/p> _:what.how.
\ No newline at end of file |