(t *testing.T)
| 21 | ) |
| 22 | |
| 23 | func TestIsDebugging(t *testing.T) { |
| 24 | SetMode(DebugMode) |
| 25 | assert.True(t, IsDebugging()) |
| 26 | SetMode(ReleaseMode) |
| 27 | assert.False(t, IsDebugging()) |
| 28 | SetMode(TestMode) |
| 29 | assert.False(t, IsDebugging()) |
| 30 | } |
| 31 | |
| 32 | func TestDebugPrint(t *testing.T) { |
| 33 | re := captureOutput(t, func() { |
nothing calls this directly
no test coverage detected