Fix tests on Windows line endings
This commit is contained in:
parent
f5480db646
commit
2584e26c89
@ -94,12 +94,12 @@ func TestDecode_interface(t *testing.T) {
|
|||||||
{
|
{
|
||||||
"multiline_indented.hcl",
|
"multiline_indented.hcl",
|
||||||
false,
|
false,
|
||||||
map[string]interface{}{"foo": " bar\n baz\n"},
|
map[string]interface{}{"foo": testhelper.Unix2dos(" bar\n baz\n")},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"multiline_no_hanging_indent.hcl",
|
"multiline_no_hanging_indent.hcl",
|
||||||
false,
|
false,
|
||||||
map[string]interface{}{"foo": " baz\n bar\n foo\n"},
|
map[string]interface{}{"foo": testhelper.Unix2dos(" baz\n bar\n foo\n")},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"multiline_no_eof.hcl",
|
"multiline_no_eof.hcl",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user