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

Function TestRedactor

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

Source from the content-addressed store, hash-verified

80}
81
82func TestRedactor(t *testing.T) {
83 err := &testRedactor{msg: "sensitive", redactedMsg: "safe"}
84 checkUnredactedError(t, err, "sensitive")
85 checkRedactedError(t, err, "safe")
86}
87
88func TestRedactorWrapRedactor(t *testing.T) {
89 wrapped := &testRedactor{

Callers

nothing calls this directly

Calls 2

checkUnredactedErrorFunction · 0.85
checkRedactedErrorFunction · 0.85

Tested by

no test coverage detected