(t *testing.T)
| 51 | } |
| 52 | |
| 53 | func TestRecordStat_NilStat(t *testing.T) { |
| 54 | r := &Runner{} |
| 55 | r.recordStat(nil) |
| 56 | |
| 57 | stats := r.Stats() |
| 58 | if stats.Requests != 0 { |
| 59 | t.Fatalf("stats.Requests = %d, want 0 for nil stat", stats.Requests) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func TestOutputHandlerSuppressesFuzzyChannelWithoutFuzzyFlag(t *testing.T) { |
| 64 | var out bytes.Buffer |
nothing calls this directly
no test coverage detected