mirror of
https://github.com/actix/actix-extras.git
synced 2024-12-01 02:44:37 +01:00
fix test-server workspace setup
This commit is contained in:
parent
bca31eb7ad
commit
deac983bc7
@ -32,6 +32,7 @@ members = [
|
|||||||
"actix-session",
|
"actix-session",
|
||||||
"actix-web-actors",
|
"actix-web-actors",
|
||||||
"actix-web-codegen",
|
"actix-web-codegen",
|
||||||
|
"test-server",
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
|
@ -53,3 +53,7 @@ time = "0.1"
|
|||||||
tokio-tcp = "0.1"
|
tokio-tcp = "0.1"
|
||||||
tokio-timer = "0.2"
|
tokio-timer = "0.2"
|
||||||
openssl = { version="0.10", optional = true }
|
openssl = { version="0.10", optional = true }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
actix-web = "1.0.0-alpa.2"
|
||||||
|
actix-http = "0.1.0-alpa.2"
|
||||||
|
@ -36,7 +36,7 @@ use net2::TcpBuilder;
|
|||||||
/// )
|
/// )
|
||||||
/// );
|
/// );
|
||||||
///
|
///
|
||||||
/// let req = srv.get();
|
/// let req = srv.get("/");
|
||||||
/// let response = srv.block_on(req.send()).unwrap();
|
/// let response = srv.block_on(req.send()).unwrap();
|
||||||
/// assert!(response.status().is_success());
|
/// assert!(response.status().is_success());
|
||||||
/// }
|
/// }
|
||||||
|
Loading…
Reference in New Issue
Block a user