MCPcopy Create free account
hub / github.com/jetify-com/devbox / TestMissingStackTrace

Function TestMissingStackTrace

internal/redact/redact_test.go:252–258  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

250}
251
252func TestMissingStackTrace(t *testing.T) {
253 var err interface{ StackTrace() []runtime.Frame } = &safeError{}
254 stack := err.StackTrace()
255 if stack != nil {
256 t.Errorf("got stack with length %d, want nil", len(stack))
257 }
258}
259
260type testRedactor struct {
261 msg string

Callers

nothing calls this directly

Calls 1

StackTraceMethod · 0.65

Tested by

no test coverage detected