- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPanics (0.21 sec)
-
src/reflect/all_test.go
}, }), struct{ F structFieldType }{}) } func TestStructOfExportRules(t *testing.T) { type S1 struct{} type s2 struct{} type ΦType struct{} type φType struct{} testPanic := func(i int, mustPanic bool, f func()) { defer func() { err := recover() if err == nil && mustPanic { t.Errorf("test-%d did not panic", i) } if err != nil && !mustPanic {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)