mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue