libstd: Fix broken test.
This commit is contained in:
parent
4cf51c2531
commit
03757482f0
@ -203,7 +203,7 @@ pub mod test {
|
||||
pub fn test_sendable_future() {
|
||||
let expected = ~"schlorf";
|
||||
let f = do spawn |copy expected| { copy expected };
|
||||
do task::spawn |f, expected| {
|
||||
do task::spawn || {
|
||||
let actual = f.get();
|
||||
assert actual == expected;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user