little things

This commit is contained in:
Ethan Buchman
2017-12-25 10:13:37 -05:00
parent 6b5d08f7da
commit 76433d9040
2 changed files with 6 additions and 7 deletions

View File

@ -29,7 +29,6 @@ func TestRepeat(t *testing.T) {
select {
case _ = <-rt.Chan():
case <-timeout:
panic("QWE")
t.Fatal("expected RepeatTimer to fire")
}
}
@ -43,7 +42,7 @@ func TestRepeat(t *testing.T) {
}
tm := NewLogicalTickerMaker(ch)
dur := time.Duration(0) // dontcare
dur := time.Duration(10 * time.Millisecond) // less than a second
rt := NewRepeatTimerWithTickerMaker("bar", dur, tm)
// Start at 0.