libstd: Fix broken test.

This commit is contained in:
Luqman Aden 2013-02-15 00:18:22 -08:00
parent 4cf51c2531
commit 03757482f0

View File

@ -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;
}