mirror of
https://github.com/golang/go
synced 2024-11-12 06:40:22 -07:00
reflect: add DeepEqual slice of slice inequality test
R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/46510043
This commit is contained in:
parent
2f5f193923
commit
96ee10fb71
@ -678,6 +678,7 @@ var deepEqualTests = []DeepEqualTest{
|
||||
{1, nil, false},
|
||||
{fn1, fn3, false},
|
||||
{fn3, fn3, false},
|
||||
{[][]int{[]int{1}}, [][]int{[]int{2}}, false},
|
||||
|
||||
// Nil vs empty: not the same.
|
||||
{[]int{}, []int(nil), false},
|
||||
|
Loading…
Reference in New Issue
Block a user