From a3a6742ec3ca5d16b0f6d2e474845594c1e0f035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sun, 15 Dec 2024 17:48:54 -0800 Subject: [PATCH] Back out "fix multiline string tests" This backs out commit 0c5604b462bfa5955edeac4a9bcb8d960ee39519. --- .../multiline_string_whitespace_only.kdl | 11 +++++------ ...itespace_only_non_matching_prefix_fail.kdl | 19 ------------------- 2 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 tests/test_cases/input/multiline_string_whitespace_only_non_matching_prefix_fail.kdl diff --git a/tests/test_cases/input/multiline_string_whitespace_only.kdl b/tests/test_cases/input/multiline_string_whitespace_only.kdl index db8fee5..d3bd045 100644 --- a/tests/test_cases/input/multiline_string_whitespace_only.kdl +++ b/tests/test_cases/input/multiline_string_whitespace_only.kdl @@ -1,19 +1,18 @@ // This file deliberately contains unusual whitespace -// The first three strings are empty, because whitespace-only lines collapse to -// just `\n`. +// The first two strings are empty node """   """ """    \ -     +       """ """ -     +     """\ \ // The next two strings contains only whitespace """    -    +    \s    """ #""" -      +     """# diff --git a/tests/test_cases/input/multiline_string_whitespace_only_non_matching_prefix_fail.kdl b/tests/test_cases/input/multiline_string_whitespace_only_non_matching_prefix_fail.kdl deleted file mode 100644 index 29e36df..0000000 --- a/tests/test_cases/input/multiline_string_whitespace_only_non_matching_prefix_fail.kdl +++ /dev/null @@ -1,19 +0,0 @@ -// This file deliberately contains unusual whitespace -// Parsing should fail because not all strings have a matching multiline prefix, -// which must be exact, down to the codepoint, _before_ newline normalization. -node """ -  """ """ -   \ -    -   """ """ -    - """\ - \ // The next two strings contains only whitespace - """ -    - -    \s -    """ #""" -     - - """#