std::rt: Remove the test for context()

This is no longer testable once newsched is turned on
This commit is contained in:
Brian Anderson 2013-08-03 23:50:28 -07:00
parent a27f339cb4
commit 2f8346b949

View File

@ -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);
}
}