mirror of
https://github.com/golang/go
synced 2024-11-22 18:54:44 -07:00
re
This commit is contained in:
parent
c768b4532f
commit
9fb1ca1a63
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user