Skip to content

Commit

Permalink
More tests for whitespace in multi-line strings (#432)
Browse files Browse the repository at this point in the history
* More tests for whitespace in multi-line strings

* replace \r\n with \n in slashdash_newline_before_node.kdl
  • Loading branch information
tjol authored Dec 12, 2024
1 parent d1ceb44 commit b82c924
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node "" "" "\n"
node "" "" "" "\n\n " "\n"
Original file line number Diff line number Diff line change
@@ -1 +1 @@

14 changes: 10 additions & 4 deletions tests/test_cases/input/multiline_string_whitespace_only.kdl
Original file line number Diff line number Diff line change
@@ -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
   """ #"""


   """
"""#

0 comments on commit b82c924

Please sign in to comment.