diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-23 20:15:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-23 20:15:06 +0100 |
commit | d30e845485b416e1c48fade14694b12a9fe59b6b (patch) | |
tree | 614e321fea5d37301ece7aa9eb5f61557343be4e /tpl/transform/unmarshal_test.go | |
parent | 597e418cb02883418f2cebb41400e8e61413f651 (diff) |
Run gofmt -s
Diffstat (limited to 'tpl/transform/unmarshal_test.go')
-rw-r--r-- | tpl/transform/unmarshal_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/transform/unmarshal_test.go b/tpl/transform/unmarshal_test.go index 1defe8c9c..e91f680c2 100644 --- a/tpl/transform/unmarshal_test.go +++ b/tpl/transform/unmarshal_test.go @@ -119,21 +119,21 @@ func TestUnmarshal(t *testing.T) { assert.Equal("Ford", first[1]) }}, {testContentResource{key: "r1", content: `a;b;c`, mime: media.CSVType}, map[string]interface{}{"delimiter": ";"}, func(r [][]string) { - assert.Equal(r, [][]string{[]string{"a", "b", "c"}}) + assert.Equal(r, [][]string{{"a", "b", "c"}}) }}, {"a,b,c", nil, func(r [][]string) { - assert.Equal(r, [][]string{[]string{"a", "b", "c"}}) + assert.Equal(r, [][]string{{"a", "b", "c"}}) }}, {"a;b;c", map[string]interface{}{"delimiter": ";"}, func(r [][]string) { - assert.Equal(r, [][]string{[]string{"a", "b", "c"}}) + assert.Equal(r, [][]string{{"a", "b", "c"}}) }}, {testContentResource{key: "r1", content: ` % This is a comment a;b;c`, mime: media.CSVType}, map[string]interface{}{"DElimiter": ";", "Comment": "%"}, func(r [][]string) { - assert.Equal(r, [][]string{[]string{"a", "b", "c"}}) + assert.Equal(r, [][]string{{"a", "b", "c"}}) }}, // errors |