diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-03-23 20:15:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-03-23 20:15:06 +0100 |
commit | d30e845485b416e1c48fade14694b12a9fe59b6b (patch) | |
tree | 614e321fea5d37301ece7aa9eb5f61557343be4e /parser/metadecoders | |
parent | 597e418cb02883418f2cebb41400e8e61413f651 (diff) | |
download | hugo-d30e845485b416e1c48fade14694b12a9fe59b6b.tar.gz hugo-d30e845485b416e1c48fade14694b12a9fe59b6b.zip |
Run gofmt -s
Diffstat (limited to 'parser/metadecoders')
-rw-r--r-- | parser/metadecoders/decoder_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/metadecoders/decoder_test.go b/parser/metadecoders/decoder_test.go index 38d002dd8..146df5069 100644 --- a/parser/metadecoders/decoder_test.go +++ b/parser/metadecoders/decoder_test.go @@ -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}, |