std::rt: Remove the test for context()
This is no longer testable once newsched is turned on
This commit is contained in:
parent
a27f339cb4
commit
2f8346b949
1 changed files with 0 additions and 10 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue