From 1409f161793a289819df1f31eccb579b71f45475 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Aug 2021 22:28:59 -0400 Subject: Fix pretty-printing nested empty lists and add 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 from a model 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/anonymous-in-list-object.ttl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/pretty/anonymous-in-list-object.ttl (limited to 'test/pretty/anonymous-in-list-object.ttl') diff --git a/test/pretty/anonymous-in-list-object.ttl b/test/pretty/anonymous-in-list-object.ttl new file mode 100644 index 00000000..a6b202f4 --- /dev/null +++ b/test/pretty/anonymous-in-list-object.ttl @@ -0,0 +1,11 @@ +@prefix eg: . + +eg:s + eg:p ( + [ + a eg:Spy + ] + [ + a eg:Ninja + ] + ) . -- cgit v1.2.1