diff options
author | Damian Gryski <[email protected]> | 2023-03-22 14:16:09 -0700 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-03-25 13:57:00 +0100 |
commit | 688a5dbf8da69cff85db2666ae667860df4b3625 (patch) | |
tree | 0dd2f94567e02d724de93c55c73b219b32af9c66 | |
parent | 35dcf135c0bbc0700a8c5c6380459b8b8f4f2a6d (diff) | |
download | tinygo-688a5dbf8da69cff85db2666ae667860df4b3625.tar.gz tinygo-688a5dbf8da69cff85db2666ae667860df4b3625.zip |
reflct: reenable DeepEqual tests
-rw-r--r-- | src/reflect/all_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/reflect/all_test.go b/src/reflect/all_test.go index 861a05327..324cc9442 100644 --- a/src/reflect/all_test.go +++ b/src/reflect/all_test.go @@ -1042,6 +1042,8 @@ func TestBigStruct(t *testing.T) { } } +*/ + type Basic struct { x int y float32 @@ -1178,6 +1180,8 @@ func TestDeepEqual(t *testing.T) { } } +/* + func TestTypeOf(t *testing.T) { // Special case for nil if typ := TypeOf(nil); typ != nil { @@ -1195,6 +1199,8 @@ func TestTypeOf(t *testing.T) { } } +*/ + type Recursive struct { x int r *Recursive @@ -1256,6 +1262,8 @@ func TestDeepEqualUnexportedMap(t *testing.T) { } } +/* + var deepEqualPerfTests = []struct { x, y any }{ @@ -4113,6 +4121,8 @@ func TestAlias(t *testing.T) { } } +*/ + var V = ValueOf func EmptyInterfaceV(x any) Value { @@ -4158,6 +4168,8 @@ type BytesChan chan []byte type BytesChanRecv <-chan []byte type BytesChanSend chan<- []byte +/* + var convertTests = []struct { in Value out Value |