Update futures-mio tests

This commit is contained in:
Jean Pierre Dudey 2016-08-21 11:30:59 -04:00
parent 5ab323e5c2
commit 9c309af597
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ fn chain_clients() {
read_to_end(a.chain(b).chain(c), Vec::new())
});
let data = t!(l.run(copied));
let (_, data) = t!(l.run(copied));
t.join().unwrap();
assert_eq!(data, b"foo bar baz");

View File

@ -37,7 +37,7 @@ fn limit() {
read_to_end(a.take(4), Vec::new())
});
let data = t!(l.run(copied));
let (_, data) = t!(l.run(copied));
t.join().unwrap();
assert_eq!(data, b"foo ");