std: Fix tests with io_error usage
This commit is contained in:
parent
29e7247fd8
commit
209642c651
21 changed files with 567 additions and 699 deletions
|
|
@ -200,7 +200,7 @@ mod tests {
|
|||
// accesses will also fail.
|
||||
let x = Exclusive::new(1);
|
||||
let x2 = x.clone();
|
||||
task::try(proc() {
|
||||
let _ = task::try(proc() {
|
||||
x2.with(|one| assert_eq!(*one, 2))
|
||||
});
|
||||
x.with(|one| assert_eq!(*one, 1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue