1
0
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:
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-session",
"actix-web-actors", "actix-web-actors",
"actix-web-codegen", "actix-web-codegen",
"test-server",
] ]
[package.metadata.docs.rs] [package.metadata.docs.rs]

View File

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

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(); /// let response = srv.block_on(req.send()).unwrap();
/// assert!(response.status().is_success()); /// assert!(response.status().is_success());
/// } /// }