From 9fb1ca1a631c648d1f38f75b1fcb2f878048706b Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Sat, 17 Feb 2024 05:11:35 +0800 Subject: [PATCH] re --- src/reflect/all_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reflect/all_test.go b/src/reflect/all_test.go index d339769b9a5..c85de721a03 100644 --- a/src/reflect/all_test.go +++ b/src/reflect/all_test.go @@ -8024,10 +8024,10 @@ func TestValue_Len(t *testing.T) { } func TestValue_Comparable(t *testing.T) { - var iNil interface{} var a int var s []int var i interface{} = a + var iNil interface{} var iSlice interface{} = s var iArrayFalse interface{} = [2]interface{}{1, map[int]int{}} var iArrayTrue interface{} = [2]interface{}{1, struct{ I interface{} }{1}} @@ -8037,9 +8037,9 @@ func TestValue_Comparable(t *testing.T) { deref bool }{ { - ValueOf(&iNil).Elem(), + ValueOf(&iNil), + true, true, - false, }, { ValueOf(32),