File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: c316189d155e233ea04241116b11956626c8e7a3
2
+ refs/heads/master: 1bc4e3f6a21c3c5d92873f490b646358ea395f9e
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ pub mod tests {
495
495
res.recv();
496
496
}
497
497
498
- #[test] #[should_fail] #[ignore(reason = " random red " )]
498
+ #[test] #[should_fail] #[ignore(cfg(windows) )]
499
499
pub fn exclusive_unwrap_conflict() {
500
500
let x = exclusive(~~" hello");
501
501
let x2 = ~mut Some(x.clone());
@@ -507,7 +507,8 @@ pub mod tests {
507
507
}
508
508
assert unwrap_exclusive(x) == ~~" hello";
509
509
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;
511
512
}
512
513
513
514
#[test] #[ignore(cfg(windows))]
You can’t perform that action at this time.
0 commit comments