Fix tests on Windows line endings

This commit is contained in:
James Nugent 2016-03-21 14:33:19 +00:00
parent f5480db646
commit 2584e26c89

View File

@ -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",