- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPanicWithDirectlyPrintableCustomTypes (0.46 sec)
-
src/runtime/panic_test.go
import ( "strings" "testing" ) // Test that panics print out the underlying value // when the underlying kind is directly printable. // Issue: https://golang.org/issues/37531 func TestPanicWithDirectlyPrintableCustomTypes(t *testing.T) { tests := []struct { name string wantPanicPrefix string }{ {"panicCustomBool", `panic: main.MyBool(true)`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 1.7K bytes - Viewed (0)