aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShawn Smith <shawn.p.smith@gmail.com>2013-12-30 11:39:47 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2013-12-30 11:39:47 -0800
commit96ee10fb71771590f95cef7c478ddca3665d4b22 (patch)
treeda94a9b1086302755931e03d759da1737ae0f1e2 /src
parent2f5f1939233e121b7f45ce3b6ac17551fbf0d08b (diff)
downloadgo-96ee10fb71771590f95cef7c478ddca3665d4b22.tar.xz
reflect: add DeepEqual slice of slice inequality test
R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/46510043
Diffstat (limited to 'src')
-rw-r--r--src/pkg/reflect/all_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/reflect/all_test.go b/src/pkg/reflect/all_test.go
index eb84a862d9..23e4e235f2 100644
--- a/src/pkg/reflect/all_test.go
+++ b/src/pkg/reflect/all_test.go
@@ -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},