diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-08-07 20:03:15 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-08-07 20:03:15 +0200 |
commit | 4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (patch) | |
tree | 4a91d6cb9f967c18a7c4dad51aeb1a182d7849ce /tpl | |
parent | 40d7d3baa8d83ad71873c85cf08286e1aaea6174 (diff) |
all: gofmt -s
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/collections/index_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/collections/index_test.go b/tpl/collections/index_test.go index b9261735f..bd752d666 100644 --- a/tpl/collections/index_test.go +++ b/tpl/collections/index_test.go @@ -36,7 +36,7 @@ func TestIndex(t *testing.T) { {[]int{0, 1}, []interface{}{0}, 0, false}, {[]int{0, 1}, []interface{}{9}, nil, false}, // index out of range {[]uint{0, 1}, nil, []uint{0, 1}, false}, - {[][]int{[]int{1, 2}, []int{3, 4}}, []interface{}{0, 0}, 1, false}, + {[][]int{{1, 2}, {3, 4}}, []interface{}{0, 0}, 1, false}, {map[int]int{1: 10, 2: 20}, []interface{}{1}, 10, false}, {map[int]int{1: 10, 2: 20}, []interface{}{0}, 0, false}, // errors |