mirror of https://github.com/kdl-org/kdl.git
More tests for backslash behaviour (#438)
* More tests for baskslash behaviour * Incorrect example of escaped final newline * Test with non-literal indent
This commit is contained in:
parent
b9ddb52e60
commit
69067719c7
|
|
@ -0,0 +1 @@
|
||||||
|
node "12"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
a
|
||||||
|
b
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
node "a\\ b\na\\b"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
node "\"\"\""
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
node " a"
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
node "1\
|
||||||
|
|
||||||
|
|
||||||
|
2"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
\
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
a \
|
||||||
|
|
||||||
|
b
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
node1
|
node1
|
||||||
|
\
|
||||||
node2
|
node2
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
node """
|
||||||
|
a\\ b
|
||||||
|
a\\\ b
|
||||||
|
"""
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
node """
|
||||||
|
\"""
|
||||||
|
"""
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
node """
|
||||||
|
a
|
||||||
|
\
|
||||||
|
"""
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
node """
|
||||||
|
a
|
||||||
|
\
|
||||||
|
"""
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
node """
|
||||||
|
\s escaped prefix
|
||||||
|
literal prefix
|
||||||
|
"""
|
||||||
Loading…
Reference in New Issue