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