mirror of https://github.com/kdl-org/kdl.git
Add test cases for escaped whitespace
This commit is contained in:
parent
c5b6adf1a0
commit
9365909683
|
|
@ -0,0 +1 @@
|
|||
node "Hello\n\tWorld" "Hello\n\tWorld" "Hello\n\tWorld" "Hello\n\tWorld" "Hello\n\tWorld" "Hello\n\tWorld"
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// All of these strings are the same
|
||||
node \
|
||||
"Hello\n\tWorld" \
|
||||
"Hello
|
||||
World" \
|
||||
"Hello\n\ \tWorld" \
|
||||
"Hello\n\
|
||||
\tWorld" \
|
||||
"Hello
|
||||
\ \tWorld" \
|
||||
"Hello\n\t\
|
||||
World"
|
||||
|
||||
// Note that this file deliberately mixes space and newline indentation for
|
||||
// test purposes
|
||||
Loading…
Reference in New Issue