(t *testing.T)
| 178 | } |
| 179 | |
| 180 | func TestErrorfRedactableArg(t *testing.T) { |
| 181 | err := Errorf("%d", redactableInt(123)) |
| 182 | checkUnredactedError(t, err, "123") |
| 183 | checkRedactedError(t, err, "0") |
| 184 | } |
| 185 | |
| 186 | func TestErrorFormat(t *testing.T) { |
| 187 | // Capture the first line of output as the error message and all following |
nothing calls this directly
no test coverage detected