(t *testing.T)
| 81 | } |
| 82 | |
| 83 | func TestJSONWriterIsEnabled(t *testing.T) { |
| 84 | if !NewJSONWriter(true).IsEnabled() { |
| 85 | t.Fatal("expected writer to be enabled") |
| 86 | } |
| 87 | if NewJSONWriter(false).IsEnabled() { |
| 88 | t.Fatal("expected writer to be disabled") |
| 89 | } |
| 90 | } |
nothing calls this directly
no test coverage detected