guard macro test on macro feature

This commit is contained in:
Rob Ede 2021-10-19 15:54:30 +01:00
parent 233f5a0bdf
commit c63a60978f
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
//!
//! Prevented by using the fully-qualified test marker (`#[::core::prelude::v1::test]`).
#![cfg(feature = "macros")]
use actix_rt::time as test;
#[actix_rt::test]