timer set to a negative duration doesn't fire until clock is advanced
marten-seemann opened this issue · 0 comments
marten-seemann commented
I would have expected the following timer to fire immediately:
clock := NewMock()
timer := clock.Timer(-time.Second)
It doesn't fire until the clock is advanced though.