Skip to content

Commit

Permalink
fix multiline scalar value issue
Browse files Browse the repository at this point in the history
  • Loading branch information
natasha41575 authored and KnVerey committed Jul 15, 2021
1 parent 9538ae1 commit f082ac0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kyaml/internal/forked/github.com/go-yaml/yaml/decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ var unmarshalTests = []struct {
map[string]string{"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",
map[string]string{"v": "true"},
Expand Down

0 comments on commit f082ac0

Please sign in to comment.