- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for panicCustomBool (0.11 sec)
-
src/runtime/testdata/testprog/panicprint.go
func panicCustomFloat32() { panic(MyFloat32(-93.70)) } func init() { register("panicCustomComplex64", panicCustomComplex64) register("panicCustomComplex128", panicCustomComplex128) register("panicCustomBool", panicCustomBool) register("panicCustomFloat32", panicCustomFloat32) register("panicCustomFloat64", panicCustomFloat64) register("panicCustomInt", panicCustomInt) register("panicCustomInt8", panicCustomInt8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/panic_test.go
// Issue: https://golang.org/issues/37531 func TestPanicWithDirectlyPrintableCustomTypes(t *testing.T) { tests := []struct { name string wantPanicPrefix string }{ {"panicCustomBool", `panic: main.MyBool(true)`}, {"panicCustomComplex128", `panic: main.MyComplex128(+3.210000e+001+1.000000e+001i)`}, {"panicCustomComplex64", `panic: main.MyComplex64(+1.100000e-001+3.000000e+000i)`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 1.7K bytes - Viewed (0)