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/short-string-escapes.ttl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/pretty/short-string-escapes.ttl (limited to 'test/pretty/short-string-escapes.ttl') diff --git a/test/pretty/short-string-escapes.ttl b/test/pretty/short-string-escapes.ttl new file mode 100644 index 00000000..0665e814 --- /dev/null +++ b/test/pretty/short-string-escapes.ttl @@ -0,0 +1,4 @@ +@prefix eg: . + +eg:s + eg:p "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\u000B\f\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\\\u007F" . -- cgit v1.2.1