(t *testing.T)
| 116 | } |
| 117 | |
| 118 | func TestError(t *testing.T) { |
| 119 | output := captureOutput(t, func() { |
| 120 | Error("test error message") |
| 121 | }) |
| 122 | assert.Contains(t, output, "test error message") |
| 123 | assert.Contains(t, output, "level=error") |
| 124 | } |
| 125 | |
| 126 | func TestErrorf(t *testing.T) { |
| 127 | output := captureOutput(t, func() { |
nothing calls this directly
no test coverage detected