mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
all: gofmt -s
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user