reflct: reenable DeepEqual tests
Этот коммит содержится в:
		
							родитель
							
								
									35dcf135c0
								
							
						
					
					
						коммит
						688a5dbf8d
					
				
					 1 изменённых файлов: 12 добавлений и 0 удалений
				
			
		|  | @ -1042,6 +1042,8 @@ func TestBigStruct(t *testing.T) { | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | */ | ||||||
|  | 
 | ||||||
| type Basic struct { | type Basic struct { | ||||||
| 	x int | 	x int | ||||||
| 	y float32 | 	y float32 | ||||||
|  | @ -1178,6 +1180,8 @@ func TestDeepEqual(t *testing.T) { | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | /* | ||||||
|  | 
 | ||||||
| func TestTypeOf(t *testing.T) { | func TestTypeOf(t *testing.T) { | ||||||
| 	// Special case for nil | 	// Special case for nil | ||||||
| 	if typ := TypeOf(nil); typ != nil { | 	if typ := TypeOf(nil); typ != nil { | ||||||
|  | @ -1195,6 +1199,8 @@ func TestTypeOf(t *testing.T) { | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | */ | ||||||
|  | 
 | ||||||
| type Recursive struct { | type Recursive struct { | ||||||
| 	x int | 	x int | ||||||
| 	r *Recursive | 	r *Recursive | ||||||
|  | @ -1256,6 +1262,8 @@ func TestDeepEqualUnexportedMap(t *testing.T) { | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | /* | ||||||
|  | 
 | ||||||
| var deepEqualPerfTests = []struct { | var deepEqualPerfTests = []struct { | ||||||
| 	x, y any | 	x, y any | ||||||
| }{ | }{ | ||||||
|  | @ -4113,6 +4121,8 @@ func TestAlias(t *testing.T) { | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | */ | ||||||
|  | 
 | ||||||
| var V = ValueOf | var V = ValueOf | ||||||
| 
 | 
 | ||||||
| func EmptyInterfaceV(x any) Value { | func EmptyInterfaceV(x any) Value { | ||||||
|  | @ -4158,6 +4168,8 @@ type BytesChan chan []byte | ||||||
| type BytesChanRecv <-chan []byte | type BytesChanRecv <-chan []byte | ||||||
| type BytesChanSend chan<- []byte | type BytesChanSend chan<- []byte | ||||||
| 
 | 
 | ||||||
|  | /* | ||||||
|  | 
 | ||||||
| var convertTests = []struct { | var convertTests = []struct { | ||||||
| 	in  Value | 	in  Value | ||||||
| 	out Value | 	out Value | ||||||
|  |  | ||||||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче
	
	 Damian Gryski
						Damian Gryski