aboutsummaryrefslogtreecommitdiffstats
path: root/asspb_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'asspb_test.go')
-rw-r--r--asspb_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/asspb_test.go b/asspb_test.go
index 6803733..b92a95b 100644
--- a/asspb_test.go
+++ b/asspb_test.go
@@ -170,6 +170,15 @@ field: 2`,
desc: "CStyleLineComment",
msg: `field: {} // line comment`,
want: map[string]any{"field": map[string]any{}},
+ }, {
+ desc: "ConcatStrings",
+ msg: `field: 'that'"'"'s cool'`,
+ want: map[string]any{"field": "that's cool"},
+ }, {
+ desc: "RemoveNewline",
+ msg: `field: 'remove newline \
+from string'`,
+ want: map[string]any{"field": "remove newline from string"},
}} {
t.Run(tc.desc, func(t *testing.T) {
t.Parallel()