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