Test that calling stop before start silently returns without blocking the stop channel.
(t *testing.T)
| 358 | // Test that calling stop before start silently returns without |
| 359 | // blocking the stop channel. |
| 360 | func TestStopWithoutStart(t *testing.T) { |
| 361 | cron := New() |
| 362 | cron.Stop() |
| 363 | } |
| 364 | |
| 365 | type testJob struct { |
| 366 | wg *sync.WaitGroup |