From 7a065f243473ea4ea8dc4653bca33f04a1381122 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 5 Dec 2012 15:30:00 -0800 Subject: [PATCH] libcore: Fix some more coretest bustage. rs=bustage --- src/libcore/task/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/task/mod.rs b/src/libcore/task/mod.rs index 7495bf7be4ca..188b7c334672 100644 --- a/src/libcore/task/mod.rs +++ b/src/libcore/task/mod.rs @@ -785,7 +785,7 @@ fn test_spawn_linked_sup_fail_up() { // child fails; parent fails let b1 = TaskBuilder { opts: move opts, can_not_copy: None, - .. *b0 + .. b0 }; do b1.spawn { fail; } comm::recv(po); // We should get punted awake @@ -805,7 +805,7 @@ fn test_spawn_linked_sup_fail_down() { // parent fails; child fails let b1 = TaskBuilder { opts: move opts, can_not_copy: None, - .. *b0 + .. b0 }; do b1.spawn { loop { task::yield(); } } fail; // *both* mechanisms would be wrong if this didn't kill the child...