Skip to content

Commit

Permalink
Remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
estk committed May 4, 2018
1 parent 00eff58 commit 9ae9c9a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,14 @@ fn try_h2() {
hyper::rt::run(hyper::rt::lazy(move || {
let client: Client<_, hyper::Body> = Client::builder().http2_only(true).build_http();
let uri = addr_str.parse::<hyper::Uri>().expect("server addr should parse");
println!("uri: {}", uri);

client.get(uri)
.and_then(|res| {
println!("{}", res.status());
.and_then(|_res| {
Ok(())
}).map(|_| {
println!("\n\nDone.");
}).map_err(|e| {
eprintln!("Error: {}", e);
()
}).map_err(|_e| {
()
})
}));

Expand Down

0 comments on commit 9ae9c9a

Please sign in to comment.