fix error on wrong path

This commit is contained in:
Aleksey Kladov 2019-03-16 18:06:45 +03:00
parent 0d6b8baa89
commit c51a6a7bdd
4 changed files with 42 additions and 11 deletions

View file

@ -30,13 +30,13 @@ use std::sync::atomic::{AtomicUsize, Ordering};
#[macro_export]
macro_rules! tested_by {
($ident:ident) => {
($ident:ident) => {{
#[cfg(test)]
{
// sic! use call-site crate
crate::marks::$ident.fetch_add(1, std::sync::atomic::Ordering::SeqCst);
}
};
}};
}
#[macro_export]