Skip to content

Commit

Permalink
Fix test to work on 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
xurtis committed Jul 6, 2018
1 parent eaaf6e7 commit 761c035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sched.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ mod test {
use libc::SIGCHLD;

fn clone_payload() -> Box<FnMut() -> isize + Send + 'static> {
let numbers: Vec<i32> = (0..=100).into_iter().collect();
let numbers: Vec<i32> = (0..101).into_iter().collect();
Box::new(move || {
assert_eq!(numbers.iter().sum::<i32>(), 5050);
0
Expand Down

0 comments on commit 761c035

Please sign in to comment.