Skip to content

Commit

Permalink
auto merge of #5078 : bblum/rust/incoming, r=brson
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Feb 22, 2013
2 parents c316189 + 9dae4cf commit 1bc4e3f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libcore/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ pub mod tests {
res.recv();
}
#[test] #[should_fail] #[ignore(reason = "random red")]
#[test] #[should_fail] #[ignore(cfg(windows))]
pub fn exclusive_unwrap_conflict() {
let x = exclusive(~~"hello");
let x2 = ~mut Some(x.clone());
Expand All @@ -507,7 +507,8 @@ pub mod tests {
}
assert unwrap_exclusive(x) == ~~"hello";
let res = option::swap_unwrap(&mut res);
res.recv();
// See #4689 for why this can't be just "res.recv()".
assert res.recv() == task::Success;
}
#[test] #[ignore(cfg(windows))]
Expand Down

0 comments on commit 1bc4e3f

Please sign in to comment.