mirror of https://github.com/fafhrd91/actix-net
guard macro test on macro feature
This commit is contained in:
parent
233f5a0bdf
commit
c63a60978f
|
@ -6,6 +6,8 @@
|
||||||
//!
|
//!
|
||||||
//! Prevented by using the fully-qualified test marker (`#[::core::prelude::v1::test]`).
|
//! Prevented by using the fully-qualified test marker (`#[::core::prelude::v1::test]`).
|
||||||
|
|
||||||
|
#![cfg(feature = "macros")]
|
||||||
|
|
||||||
use actix_rt::time as test;
|
use actix_rt::time as test;
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
|
Loading…
Reference in New Issue