Skip to content

Commit

Permalink
std::rt: Remove the test for context()
Browse files Browse the repository at this point in the history
This is no longer testable once newsched is turned on
  • Loading branch information
brson committed Aug 4, 2013
1 parent a27f339 commit 2f8346b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/libstd/rt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 2f8346b

Please sign in to comment.