Skip to content

Commit

Permalink
Merge pull request rust-lang#314 from Byron/master
Browse files Browse the repository at this point in the history
Use single thread in `one_thread` test
  • Loading branch information
alexcrichton committed Dec 29, 2016
2 parents 7f853ff + 0635332 commit a971a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/shared.rs
Expand Up @@ -25,8 +25,8 @@ fn send_shared_oneshot_and_wait_on_multiple_threads(threads_number: u32) {
}

#[test]
fn one_threads() {
send_shared_oneshot_and_wait_on_multiple_threads(2);
fn one_thread() {
send_shared_oneshot_and_wait_on_multiple_threads(1);
}

#[test]
Expand Down

0 comments on commit a971a8b

Please sign in to comment.