summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_actix.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_actix.rs b/tests/test_actix.rs
index 5159977..792afb2 100644
--- a/tests/test_actix.rs
+++ b/tests/test_actix.rs
@@ -1,5 +1,7 @@
#![cfg(any(feature = "actix4", feature = "actix3", feature = "actix2"))]
+#[cfg(feature = "actix2")]
+extern crate actix_web2 as actix_web;
#[cfg(feature = "actix3")]
extern crate actix_web3 as actix_web;
#[cfg(feature = "actix4")]