diff options
author | David Robillard <d@drobilla.net> | 2025-04-10 18:04:39 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-04-10 18:13:44 -0400 |
commit | 4b961f70c0874efcd73a36ac602e0da641030fda (patch) | |
tree | 2d5a20e1e645454c721c701a370f340181cc3e0c | |
parent | c701c58a43d7f5446b5594b73664a7f6d9812e27 (diff) | |
download | serd-4b961f70c0874efcd73a36ac602e0da641030fda.tar.gz serd-4b961f70c0874efcd73a36ac602e0da641030fda.tar.bz2 serd-4b961f70c0874efcd73a36ac602e0da641030fda.zip |
Add test for repeated directives
-rw-r--r-- | test/extra/pretty/manifest.ttl | 7 | ||||
-rw-r--r-- | test/extra/pretty/repeated-directives.ttl | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/test/extra/pretty/manifest.ttl b/test/extra/pretty/manifest.ttl index 6422c9e0..26ed63be 100644 --- a/test/extra/pretty/manifest.ttl +++ b/test/extra/pretty/manifest.ttl @@ -35,6 +35,7 @@ <#nested-list-object> <#nested-list-object-with-empty-lists> <#relative-uris> + <#repeated-directives> <#short-string-escapes> <#uri-escapes> <#nested-list-subject> @@ -214,6 +215,12 @@ mf:name "relative-uris" ; mf:result <relative-uris.ttl> . +<#repeated-directives> + a rdft:TestTurtleEval ; + mf:action <repeated-directives.ttl> ; + mf:name "repeated-directives" ; + mf:result <repeated-directives.ttl> . + <#short-string-escapes> a rdft:TestTurtleEval ; mf:action <short-string-escapes.ttl> ; diff --git a/test/extra/pretty/repeated-directives.ttl b/test/extra/pretty/repeated-directives.ttl new file mode 100644 index 00000000..68c3e6cf --- /dev/null +++ b/test/extra/pretty/repeated-directives.ttl @@ -0,0 +1,10 @@ +@base <http://example.org/base> . +@base <http://example.org/base> . +@base <base> . +@prefix eg: <http://example.org/eg#> . +@prefix eg: <http://example.org/eg#> . +@prefix eg: <eg#> . + +eg:s + eg:p eg:o , + eg:o . |