From 501d52b485606479b01084ab55ec88ccfc5310b9 Mon Sep 17 00:00:00 2001 From: Rokas Muningis <28229273+RokasMuningis@users.noreply.github.com> Date: Sun, 28 Feb 2021 21:31:00 +0200 Subject: [PATCH] Include proper import/use example in testing docs, unit test section. (#217) --- examples/testing/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/testing/src/main.rs b/examples/testing/src/main.rs index 49625f4..8bb1a41 100644 --- a/examples/testing/src/main.rs +++ b/examples/testing/src/main.rs @@ -20,7 +20,7 @@ fn main() { #[cfg(test)] mod tests { use super::*; - use actix_web::test; + use actix_web::{http, test}; #[actix_rt::test] async fn test_index_ok() {