Run gofmt -s

This commit is contained in:
Bjørn Erik Pedersen 2019-03-23 20:15:06 +01:00
parent 597e418cb0
commit d30e845485
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
7 changed files with 19 additions and 19 deletions

View file

@ -72,7 +72,7 @@ func TestUnmarshalToInterface(t *testing.T) {
{`#+a: b`, ORG, expect},
{`a = "b"`, TOML, expect},
{`a: "b"`, YAML, expect},
{`a,b,c`, CSV, [][]string{[]string{"a", "b", "c"}}},
{`a,b,c`, CSV, [][]string{{"a", "b", "c"}}},
{"a: Easy!\nb:\n c: 2\n d: [3, 4]", YAML, map[string]interface{}{"a": "Easy!", "b": map[string]interface{}{"c": 2, "d": []interface{}{3, 4}}}},
// errors
{`a = "`, TOML, false},