mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
fix multiline scalar value issue
This commit is contained in:
committed by
Katrina Verey
parent
9538ae1258
commit
f082ac02cf
@@ -46,6 +46,9 @@ var unmarshalTests = []struct {
|
|||||||
map[string]string{"v": "hi"},
|
map[string]string{"v": "hi"},
|
||||||
}, {
|
}, {
|
||||||
"v: hi", map[string]interface{}{"v": "hi"},
|
"v: hi", map[string]interface{}{"v": "hi"},
|
||||||
|
}, {
|
||||||
|
"v: 'hi\nthis is a\nmultiline string\n'",
|
||||||
|
map[string]interface {}{"v":"hi\nthis is a\nmultiline string\n"},
|
||||||
}, {
|
}, {
|
||||||
"v: true",
|
"v: true",
|
||||||
map[string]string{"v": "true"},
|
map[string]string{"v": "true"},
|
||||||
|
|||||||
Reference in New Issue
Block a user