From e970e63146fb5d8de511104eba7aef5319e8653b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Mar 2023 15:42:27 -0400 Subject: 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. --- test/pretty/list-in-object.ttl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pretty/list-in-object.ttl (limited to 'test/pretty/list-in-object.ttl') diff --git a/test/pretty/list-in-object.ttl b/test/pretty/list-in-object.ttl new file mode 100644 index 00000000..ce887157 --- /dev/null +++ b/test/pretty/list-in-object.ttl @@ -0,0 +1,10 @@ +@prefix eg: . + +eg:s + eg:p [ + eg:list ( + "apple" + "banana" + "cherry" + ) + ] . -- cgit v1.2.1