(t *testing.T)
| 234 | } |
| 235 | |
| 236 | func TestSimpleTaskExecutor_Shutdown_TerminatedExecutor(t *testing.T) { |
| 237 | executor := NewSimpleTaskExecutor(NewDefaultTaskRunner()) |
| 238 | executor.Shutdown() |
| 239 | |
| 240 | assert.Panics(t, func() { |
| 241 | executor.Shutdown() |
| 242 | }) |
| 243 | } |
nothing calls this directly
no test coverage detected