lib/pacer: fix test on macOS

This commit is contained in:
Nick Craig-Wood 2019-03-01 10:00:00 +00:00
parent 2bf19787d5
commit f6eb5c6983

View File

@ -237,7 +237,6 @@ func TestGoogleDrivePacer(t *testing.T) {
count := 0
for i := 0; i < test.calls; i++ {
sleep := c.Calculate(State{})
time.Sleep(sleep)
if sleep != 0 {
count++
}