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

Function TestPanicFormattingStringValue

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

Source from the content-addressed store, hash-verified

27}
28
29func TestPanicFormattingStringValue(t *testing.T) {
30 assertPanicMessage(t, func() { panic("Panic time!") }, "Panic time!")
31}
32
33func TestPanicFormattingIntValue(t *testing.T) {
34 assertPanicMessage(t, func() { panic(1234) }, "1234")

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…