MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / TestPanicFormattingIntValue

Function TestPanicFormattingIntValue

lambda/panic_test.go:33–35  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

31}
32
33func TestPanicFormattingIntValue(t *testing.T) {
34 assertPanicMessage(t, func() { panic(1234) }, "1234")
35}
36
37func TestPanicFormattingCustomError(t *testing.T) {
38 type CustomError struct{ error }

Callers

nothing calls this directly

Calls 1

assertPanicMessageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…