aboutsummaryrefslogtreecommitdiffstats
path: root/asspb_test.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-10-25 17:23:18 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-10-25 17:23:18 -0700
commit7ed0ea9acebb11d70136326863743bd96b515430 (patch)
treefd221639869ba9f5e258454dbecf593ce4fe7671 /asspb_test.go
parent4a3a8a6bea2226a7fa2dedd063886453765ba9bf (diff)
downloadccl-7ed0ea9acebb11d70136326863743bd96b515430.tar.zst
Some small improvements
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()