From 66b9ac30de8899676cb481187da19945e36c9552 Mon Sep 17 00:00:00 2001 From: Thomas Jollans Date: Thu, 12 Dec 2024 23:02:30 +0100 Subject: [PATCH] update upstream test suite --- .../multiline_string_whitespace_only.kdl | 2 +- .../expected_kdl/slashdash_newline_before_node.kdl | 1 + .../input/multiline_string_whitespace_only.kdl | 14 ++++++++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/tests/test_documents/upstream/2.0.0.draft/expected_kdl/multiline_string_whitespace_only.kdl b/tests/test_documents/upstream/2.0.0.draft/expected_kdl/multiline_string_whitespace_only.kdl index 3f50068..4d04294 100644 --- a/tests/test_documents/upstream/2.0.0.draft/expected_kdl/multiline_string_whitespace_only.kdl +++ b/tests/test_documents/upstream/2.0.0.draft/expected_kdl/multiline_string_whitespace_only.kdl @@ -1 +1 @@ -node "" "" "\n" +node "" "" "" "\n\n " "\n" diff --git a/tests/test_documents/upstream/2.0.0.draft/expected_kdl/slashdash_newline_before_node.kdl b/tests/test_documents/upstream/2.0.0.draft/expected_kdl/slashdash_newline_before_node.kdl index e69de29..8b13789 100644 --- a/tests/test_documents/upstream/2.0.0.draft/expected_kdl/slashdash_newline_before_node.kdl +++ b/tests/test_documents/upstream/2.0.0.draft/expected_kdl/slashdash_newline_before_node.kdl @@ -0,0 +1 @@ + diff --git a/tests/test_documents/upstream/2.0.0.draft/input/multiline_string_whitespace_only.kdl b/tests/test_documents/upstream/2.0.0.draft/input/multiline_string_whitespace_only.kdl index 72039c2..d3bd045 100644 --- a/tests/test_documents/upstream/2.0.0.draft/input/multiline_string_whitespace_only.kdl +++ b/tests/test_documents/upstream/2.0.0.draft/input/multiline_string_whitespace_only.kdl @@ -1,12 +1,18 @@ // This file deliberately contains unusual whitespace -// the first two strings are empty +// The first two strings are empty node """   """ """    \    -   """ \ - \ // The next string contains only whitespace +   """ """ +    + """\ + \ // The next two strings contains only whitespace """    + +    \s +    """ #""" +     -    """ + """#