(t *testing.T)
| 373 | } |
| 374 | |
| 375 | func TestRotateDebugFileForTestSet_NilSinkIsSafe(t *testing.T) { |
| 376 | SetDebugFileSink(nil) |
| 377 | if err := RotateDebugFileForTestSet("anything"); err != nil { |
| 378 | t.Errorf("RotateDebugFileForTestSet with nil sink: got %v, want nil", err) |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | // TestDebugFileSink_SurvivesAddMode is the regression test for the |
| 383 | // empty-per-test-set-file bug: AddMode rebuilds the core from scratch |
nothing calls this directly
no test coverage detected