1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 10:42:55 +01:00

fix test-server workspace setup

This commit is contained in:
Nikolay Kim 2019-04-02 14:04:28 -07:00
parent bca31eb7ad
commit deac983bc7
3 changed files with 6 additions and 1 deletions

View File

@ -32,6 +32,7 @@ members = [
"actix-session",
"actix-web-actors",
"actix-web-codegen",
"test-server",
]
[package.metadata.docs.rs]

View File

@ -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"

View File

@ -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());
/// }