diff options
author | David Robillard <d@drobilla.net> | 2023-03-27 15:42:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-05 09:41:43 -0400 |
commit | e970e63146fb5d8de511104eba7aef5319e8653b (patch) | |
tree | 9f8e24335b84012ec0473e62301f37491c31cdb9 /test/pretty/named-graph.trig | |
parent | 68c1a2e677775e489cff4beb38ef17c1efeae4e3 (diff) | |
download | serd-e970e63146fb5d8de511104eba7aef5319e8653b.tar.gz serd-e970e63146fb5d8de511104eba7aef5319e8653b.tar.bz2 serd-e970e63146fb5d8de511104eba7aef5319e8653b.zip |
Add pretty-printing test suite
The earlier "test" was just hitting the code without actually checking the
output. This new suite is a set of pretty-printed documents which serd must
reproduce exactly to pass. This should make it easy to add cases in the
future, since each case is just a document, as it should look.
Diffstat (limited to 'test/pretty/named-graph.trig')
-rw-r--r-- | test/pretty/named-graph.trig | 8 |
1 files changed, 8 insertions, 0 deletions
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 + ] . +} |