- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTypeStrings (0.27 sec)
-
src/reflect/all_test.go
typ := TypeOf(test.v) if got := IsExported(typ); got != test.want { t.Errorf("%d: %s exported=%v, want %v", i, typ.Name(), got, test.want) } } } func TestTypeStrings(t *testing.T) { type stringTest struct { typ Type want string } stringTests := []stringTest{ {TypeOf(func(int) {}), "func(int)"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)