about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-08-03 23:50:28 -0700
committerBrian Anderson <banderson@mozilla.com>2013-08-04 15:11:56 -0700
commit2f8346b949169bd0f4b8fe0630eb4bc49ae35f11 (patch)
treeae8b3ef5471c24a9eac458b2bb696fa975fd1fef /src/libstd
parenta27f339cb4480e723aa7e06070683966d026d1ae (diff)
downloadrust-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.rs10
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);
-    }
-}