diff options
author | David Robillard <d@drobilla.net> | 2021-08-12 23:38:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | fdf837b4b3baffc65e429c2e6ecc2e764bfed0ac (patch) | |
tree | 02e1f667d308c94c2657aab902f62b7712d7dea9 /test/pretty | |
parent | 04ac8e8c12044da5befe0559eb36634babcf771a (diff) | |
download | serd-fdf837b4b3baffc65e429c2e6ecc2e764bfed0ac.tar.gz serd-fdf837b4b3baffc65e429c2e6ecc2e764bfed0ac.tar.bz2 serd-fdf837b4b3baffc65e429c2e6ecc2e764bfed0ac.zip |
Fix TriG graph indentation
Diffstat (limited to 'test/pretty')
-rw-r--r-- | test/pretty/manifest.ttl | 12 | ||||
-rw-r--r-- | test/pretty/named-graph.trig | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/pretty/manifest.ttl b/test/pretty/manifest.ttl index faae5857..b28f4e68 100644 --- a/test/pretty/manifest.ttl +++ b/test/pretty/manifest.ttl @@ -21,6 +21,7 @@ <#list-subject-with-list-extras> <#list-subject> <#many-objects> + <#named-graph> <#nested-list-object-with-empty-lists> <#nested-list-object> <#nested-list-subject> @@ -96,6 +97,11 @@ mf:action <many-objects.ttl> ; mf:name "many-objects" . +<#named-graph> + a serd:TestTrigPrint ; + mf:action <named-graph.trig> ; + mf:name "named-graph" . + <#nested-list-object> a serd:TestTurtlePrint ; mf:action <nested-list-object.ttl> ; @@ -111,6 +117,12 @@ mf:action <nested-list-subject.ttl> ; mf:name "nested-list-subject" . +serd:TestTrigPrint + a rdfs:Class ; + rdfs:comment "Tests that a TriG document pretty-prints exactly as written." ; + rdfs:label "TriG Pretty-Printing" ; + rdfs:subClassOf rdft:Test . + serd:TestTurtlePrint a rdfs:Class ; rdfs:comment "Tests that a Turtle document pretty-prints exactly as written." ; diff --git a/test/pretty/named-graph.trig b/test/pretty/named-graph.trig new file mode 100644 index 00000000..5cd12f3b --- /dev/null +++ b/test/pretty/named-graph.trig @@ -0,0 +1,8 @@ +@prefix eg: <http://example.org/> . + +eg:g { + eg:s + eg:p [ + a eg:Object + ] . +} |