diff --git a/src/libstd/rt/uv/timer.rs b/src/libstd/rt/uv/timer.rs index 5557a580987..cd6fc5c0a25 100644 --- a/src/libstd/rt/uv/timer.rs +++ b/src/libstd/rt/uv/timer.rs @@ -143,7 +143,7 @@ mod test { let count_ptr: *mut int = &mut count; let mut loop_ = Loop::new(); let mut timer = TimerWatcher::new(&mut loop_); - do timer.start(10, 20) |timer, status| { + do timer.start(1, 2) |timer, status| { assert!(status.is_none()); unsafe { *count_ptr += 1; @@ -166,7 +166,7 @@ mod test { // Restart the original timer let mut timer = timer; - do timer.start(10, 0) |timer, _| { + do timer.start(1, 0) |timer, _| { unsafe { *count_ptr += 1; } timer.close(||()); }