diff options
Diffstat (limited to 'crates/test_utils')
-rw-r--r-- | crates/test_utils/src/marks.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/test_utils/src/marks.rs b/crates/test_utils/src/marks.rs index 107432926..1c268b49c 100644 --- a/crates/test_utils/src/marks.rs +++ b/crates/test_utils/src/marks.rs | |||
@@ -30,13 +30,13 @@ use std::sync::atomic::{AtomicUsize, Ordering}; | |||
30 | 30 | ||
31 | #[macro_export] | 31 | #[macro_export] |
32 | macro_rules! tested_by { | 32 | macro_rules! tested_by { |
33 | ($ident:ident) => { | 33 | ($ident:ident) => {{ |
34 | #[cfg(test)] | 34 | #[cfg(test)] |
35 | { | 35 | { |
36 | // sic! use call-site crate | 36 | // sic! use call-site crate |
37 | crate::marks::$ident.fetch_add(1, std::sync::atomic::Ordering::SeqCst); | 37 | crate::marks::$ident.fetch_add(1, std::sync::atomic::Ordering::SeqCst); |
38 | } | 38 | } |
39 | }; | 39 | }}; |
40 | } | 40 | } |
41 | 41 | ||
42 | #[macro_export] | 42 | #[macro_export] |