mirror of
https://github.com/actix/actix-web.git
synced 2024-12-20 23:26:44 +00:00
fix test-server workspace setup
This commit is contained in:
parent
bca31eb7ad
commit
deac983bc7
3 changed files with 6 additions and 1 deletions
|
@ -32,6 +32,7 @@ members = [
|
|||
"actix-session",
|
||||
"actix-web-actors",
|
||||
"actix-web-codegen",
|
||||
"test-server",
|
||||
]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
@ -53,3 +53,7 @@ time = "0.1"
|
|||
tokio-tcp = "0.1"
|
||||
tokio-timer = "0.2"
|
||||
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();
|
||||
/// assert!(response.status().is_success());
|
||||
/// }
|
||||
|
|
Loading…
Reference in a new issue