reflect: implement and test Value.Comparable

This commit is contained in:
Damian Gryski
2023-03-24 12:19:33 -07:00
committed by Ron Evans
parent a11f2436e3
commit d4bdd836bc
3 changed files with 40 additions and 0 deletions
+4
View File
@@ -8105,6 +8105,8 @@ func TestValue_Len(t *testing.T) {
}
}
*/
func TestValue_Comparable(t *testing.T) {
var a int
var s []int
@@ -8286,6 +8288,8 @@ func TestValue_Comparable(t *testing.T) {
}
}
/*
type ValueEqualTest struct {
v, u any
eq bool