diff options
| author | Eric Reed <ecreed@cs.washington.edu> | 2013-09-04 18:09:03 -0700 |
|---|---|---|
| committer | Eric Reed <ecreed@cs.washington.edu> | 2013-09-06 11:13:43 -0700 |
| commit | 6840076cd9cea9e3982fd924c5a025fbebf1e184 (patch) | |
| tree | 59ffcf575825aa1626784df0f9f7d519510145a3 /src/libstd/rt/io/timer.rs | |
| parent | 73bb4de556b3dabc1ba5db397fc1bed28e0537a9 (diff) | |
Make I/O tests use run_in_mt_newsched_task to get more multi-threaded test coverage
Diffstat (limited to 'src/libstd/rt/io/timer.rs')
| -rw-r--r-- | src/libstd/rt/io/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/io/timer.rs b/src/libstd/rt/io/timer.rs index 7f2d88f994d..6754511b038 100644 --- a/src/libstd/rt/io/timer.rs +++ b/src/libstd/rt/io/timer.rs @@ -47,7 +47,7 @@ mod test { use rt::test::*; #[test] fn test_io_timer_sleep_simple() { - do run_in_newsched_task { + do run_in_mt_newsched_task { let timer = Timer::new(); do timer.map_move |mut t| { t.sleep(1) }; } |
