testequal: rename slice capacity test.
This commit is contained in:
parent
2fd6d0e667
commit
9a186450d2
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ func TestEqual(t *testing.T) {
|
|||
{name: "uint64", expected: uint64(1), actual: uint64(1)},
|
||||
{name: "string", expected: "1", actual: "1"},
|
||||
{name: "slice", expected: []int{1, 2, 3}, actual: []int{1, 2, 3}},
|
||||
{name: "makeSlice", expected: []int{0, 0, 0}, actual: make([]int, 3, 5)},
|
||||
{name: "sliceCap", expected: []int{0, 0, 0}, actual: make([]int, 3, 5)},
|
||||
{name: "map", expected: map[string]string{"a": "b"}, actual: map[string]string{"a": "b"}},
|
||||
{name: "bytes", expected: []byte(`abc`), actual: []byte(`abc`)},
|
||||
} {
|
||||
|
|
Loading…
Reference in a new issue