about summary refs log tree commit diff
path: root/src/libstd/rt/io/timer.rs
diff options
context:
space:
mode:
authorEric Reed <ecreed@cs.washington.edu>2013-09-04 18:09:03 -0700
committerEric Reed <ecreed@cs.washington.edu>2013-09-06 11:13:43 -0700
commit6840076cd9cea9e3982fd924c5a025fbebf1e184 (patch)
tree59ffcf575825aa1626784df0f9f7d519510145a3 /src/libstd/rt/io/timer.rs
parent73bb4de556b3dabc1ba5db397fc1bed28e0537a9 (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.rs2
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) };
         }