Skip to content

Commit e86550e

Browse files
committed
---
yaml --- r: 44263 b: refs/heads/snap-stage3 c: 1bc4e3f h: refs/heads/master i: 44261: a8153c7 44259: 6251420 44255: dfbb630 v: v3
1 parent aac4976 commit e86550e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c316189d155e233ea04241116b11956626c8e7a3
4+
refs/heads/snap-stage3: 1bc4e3f6a21c3c5d92873f490b646358ea395f9e
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/private.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ pub mod tests {
495495
res.recv();
496496
}
497497
498-
#[test] #[should_fail] #[ignore(reason = "random red")]
498+
#[test] #[should_fail] #[ignore(cfg(windows))]
499499
pub fn exclusive_unwrap_conflict() {
500500
let x = exclusive(~~"hello");
501501
let x2 = ~mut Some(x.clone());
@@ -507,7 +507,8 @@ pub mod tests {
507507
}
508508
assert unwrap_exclusive(x) == ~~"hello";
509509
let res = option::swap_unwrap(&mut res);
510-
res.recv();
510+
// See #4689 for why this can't be just "res.recv()".
511+
assert res.recv() == task::Success;
511512
}
512513
513514
#[test] #[ignore(cfg(windows))]

0 commit comments

Comments
 (0)