fix(http,server): Update tests to use non-deprecated futures methods.

These seem mostly to be renames, with the exception of Unpark -> Notify.
This commit is contained in:
David Ross
2017-06-02 23:27:32 -07:00
parent edc1c0dd01
commit 70948a24b0
3 changed files with 16 additions and 15 deletions

View File

@@ -133,7 +133,7 @@ fn test_body_stream_concat() {
tx.send(Ok("world".into())).wait().unwrap();
});
let total = body.concat().wait().unwrap();
let total = body.concat2().wait().unwrap();
assert_eq!(total.as_ref(), b"hello world");
}