1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 08:57:00 +02:00

fix tests with disabled features

This commit is contained in:
Nikolay Kim
2019-03-31 17:04:34 -07:00
parent ddf5089bff
commit ce8294740e
4 changed files with 31 additions and 12 deletions

View File

@@ -470,7 +470,9 @@ impl<'a> Iterator for Iter<'a> {
#[cfg(test)]
mod test {
use super::{Cookie, CookieJar, Key};
#[cfg(feature = "secure-cookies")]
use super::Key;
use super::{Cookie, CookieJar};
#[test]
#[allow(deprecated)]