Fix client doc test (#241)
The test is not supposed to actually run, but the `select` is not fast enough on Travis.
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
//! let addr = "127.0.0.1:5928".parse().unwrap();
|
||||
//!
|
||||
//! core.run({
|
||||
//! # let _ =
|
||||
//! // Establish TCP connection to the server.
|
||||
//! TcpStream::connect(&addr, &handle)
|
||||
//! .map_err(|_| {
|
||||
@@ -138,7 +139,8 @@
|
||||
//! })
|
||||
//! })
|
||||
//! })
|
||||
//! # .select(ok(()))
|
||||
//! # ;
|
||||
//! # ok::<_, ()>(())
|
||||
//! }).ok().expect("failed to perform HTTP/2.0 request");
|
||||
//! }
|
||||
//! ```
|
||||
|
||||
Reference in New Issue
Block a user