Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jD91mZM2 committed Feb 25, 2021
1 parent e26137e commit 4221aa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xidlehook-core/tests/first_timers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ fn first_timer_test() {

// Trigger all timers up to the last one. The sleep is always limited to 10 because the first
// enabled timer can be accessed at any time and thus 10 sleep is the minimum.
assert_eq!(timer.poll(TEST_UNIT * 000).unwrap(), Sleep(TEST_UNIT * 010));
assert_eq!(timer.poll(TEST_UNIT * 010).unwrap(), Sleep(TEST_UNIT * 010));
assert_eq!(timer.poll(TEST_UNIT * 060).unwrap(), Sleep(TEST_UNIT * 010));
assert_eq!(timer.poll(TEST_UNIT * 260).unwrap(), Sleep(TEST_UNIT * 010));
Expand Down

0 comments on commit 4221aa8

Please sign in to comment.