libstd: Fix tests. rs=bustage

This commit is contained in:
Patrick Walton
2012-12-28 12:46:08 -08:00
parent fd095f8734
commit 13879d8e9f
13 changed files with 69 additions and 11 deletions

View File

@@ -145,6 +145,9 @@ pub fn spawn<A:Owned>(blk: fn~() -> A) -> Future<A> {
#[allow(non_implicitly_copyable_typarams)]
pub mod test {
use core::pipes::oneshot;
use core::task;
#[test]
pub fn test_from_value() {
let f = from_value(~"snail");