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/good/test-pretty.nt | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 test/good/test-pretty.nt (limited to 'test/good/test-pretty.nt') diff --git a/test/good/test-pretty.nt b/test/good/test-pretty.nt deleted file mode 100644 index 9251563a..00000000 --- a/test/good/test-pretty.nt +++ /dev/null @@ -1,46 +0,0 @@ - . -_:b1 . - . -_:b2 _:b3 . -_:b4 "apple" . -_:b4 _:b5 . -_:b5 "banana" . -_:b5 _:b6 . -_:b6 "pear" . -_:b6 . -_:b4 . -_:b7 _:b8 . -_:b8 . -_:b8 _:b9 . -_:b9 . -_:b9 . -_:b7 _:b10 . -_:b10 _:b11 . -_:b11 . -_:b11 _:b12 . -_:b12 . -_:b12 . -_:b10 . -_:b7 . -_:b13 _:b14 . -_:b14 "apple" . -_:b14 _:b15 . -_:b15 "banana" . -_:b15 _:b16 . -_:b16 "pear" . -_:b16 . -_:b17 . -_:b17 . -_:b17 . -_:b18 _:b19 . -_:b19 . -_:b19 . -_:b18 _:b20 . -_:b20 . -_:b21 _:b22 . -_:b22 _:b23 . -_:b23 . -_:b22 _:b24 . -_:b24 _:b25 . -_:b25 . -_:b24 . -- cgit v1.2.1