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

@@ -541,7 +541,7 @@ fn test_avoid_copying_the_body_task_spawn() {
#[test]
fn test_avoid_copying_the_body_try() {
avoid_copying_the_body(|f| {
try(proc() {
let _ = try(proc() {
f()
});
})