diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-08-03 23:50:28 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-08-04 15:11:56 -0700 |
| commit | 2f8346b949169bd0f4b8fe0630eb4bc49ae35f11 (patch) | |
| tree | ae8b3ef5471c24a9eac458b2bb696fa975fd1fef /src/libstd | |
| parent | a27f339cb4480e723aa7e06070683966d026d1ae (diff) | |
| download | rust-2f8346b949169bd0f4b8fe0630eb4bc49ae35f11.tar.gz rust-2f8346b949169bd0f4b8fe0630eb4bc49ae35f11.zip | |
std::rt: Remove the test for context()
This is no longer testable once newsched is turned on
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/mod.rs | 10 |
1 files changed, 0 insertions, 10 deletions
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); - } -} |
