File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
branches/snap-stage3/src/libcore 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
2
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: c316189d155e233ea04241116b11956626c8e7a3
4
+ refs/heads/snap-stage3: 1bc4e3f6a21c3c5d92873f490b646358ea395f9e
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
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