- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testReflectType (0.18 sec)
-
src/internal/reflectlite/all_test.go
if s != want { t.Errorf("#%d: have %#q, want %#q", i, s, want) } } func testReflectType(t *testing.T, i int, typ Type, want string) { s := TypeString(typ) if s != want { t.Errorf("#%d: have %#q, want %#q", i, s, want) } } func TestTypes(t *testing.T) { for i, tt := range typeTests { testReflectType(t, i, Field(ValueOf(tt.i), 0).Type(), tt.s) } } func TestSetValue(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:26:08 UTC 2023 - 24.2K bytes - Viewed (0)