Skip to content

Commit a90c7ae

Browse files
committed
add tests
1 parent 2998196 commit a90c7ae

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

assets/strings_result.hjson

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
text1: This is a valid string value.
33
text2: a \ is just a \
44
text3: "You need quotes\tfor escapes"
5-
text4: " untrimmed "
5+
text4a: " untrimmed "
6+
text4b: " untrimmed"
7+
text4c: "untrimmed "
68
multiline1:
79
'''
810
first line

assets/strings_result.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"text1": "This is a valid string value.",
33
"text2": "a \\ is just a \\",
44
"text3": "You need quotes\tfor escapes",
5-
"text4": " untrimmed ",
5+
"text4a": " untrimmed ",
6+
"text4b": " untrimmed",
7+
"text4c": "untrimmed ",
68
"multiline1": "first line\n indented line\nlast line",
79
"multiline2": "first line\n indented line\nlast line",
810
"multiline3": "first line\n indented line\nlast line\n",

assets/strings_test.hjson

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
text3: "You need quotes\tfor escapes"
88

9-
text4: " untrimmed "
9+
text4a: " untrimmed "
10+
text4b: " untrimmed"
11+
text4c: "untrimmed "
1012

1113
# multiline string
1214

0 commit comments

Comments
 (0)