(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func TestNewBatchHandlerPanic(t *testing.T) { |
| 15 | defer func() { |
| 16 | if r := recover(); r == nil { |
| 17 | t.Errorf("Expected to panic.") |
| 18 | } |
| 19 | }() |
| 20 | |
| 21 | NewBatchHandler(BatchOptions{}) |
| 22 | } |
| 23 | |
| 24 | func TestNewBatchHandlerDefaults(t *testing.T) { |
| 25 | h := NewBatchHandler(BatchOptions{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…