std: Fix tests with io_error usage

This commit is contained in:
Alex Crichton 2014-01-30 14:10:53 -08:00
parent 29e7247fd8
commit 209642c651
21 changed files with 567 additions and 699 deletions

View file

@ -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));