MCPcopy Index your code
hub / github.com/jetify-com/devbox / TestSimple

Function TestSimple

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

Source from the content-addressed store, hash-verified

64}
65
66func TestSimple(t *testing.T) {
67 err := errors.New("simple")
68 checkUnredactedError(t, err, "simple")
69 checkRedactedError(t, err, "<redacted *errors.errorString>")
70}
71
72func TestSimpleWrapSimple(t *testing.T) {
73 wrapped := errors.New("error 2")

Callers

nothing calls this directly

Calls 2

checkUnredactedErrorFunction · 0.85
checkRedactedErrorFunction · 0.85

Tested by

no test coverage detected