diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-25 17:23:18 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-25 17:23:18 -0700 |
| commit | 7ed0ea9acebb11d70136326863743bd96b515430 (patch) | |
| tree | fd221639869ba9f5e258454dbecf593ce4fe7671 /asspb_test.go | |
| parent | 4a3a8a6bea2226a7fa2dedd063886453765ba9bf (diff) | |
| download | ccl-7ed0ea9acebb11d70136326863743bd96b515430.tar.zst | |
Some small improvements
Diffstat (limited to 'asspb_test.go')
| -rw-r--r-- | asspb_test.go | 9 |
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() |
