From 2f8346b949169bd0f4b8fe0630eb4bc49ae35f11 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 3 Aug 2013 23:50:28 -0700 Subject: std::rt: Remove the test for context() This is no longer testable once newsched is turned on --- src/libstd/rt/mod.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index 4cfe0efacfe..33e83fd9040 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -432,13 +432,3 @@ pub fn context() -> RuntimeContext { pub fn rust_try_get_task() -> *rust_task; } } - -#[test] -fn test_context() { - use unstable::run_in_bare_thread; - - assert_eq!(context(), OldTaskContext); - do run_in_bare_thread { - assert_eq!(context(), GlobalContext); - } -} -- cgit 1.4.1-3-g733a5