mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Use cfg(test) for test macros
This commit is contained in:
@@ -20,7 +20,7 @@ macro_rules! impl_crud_for_store {
|
||||
};
|
||||
}
|
||||
|
||||
#[allow(unused_macros)]
|
||||
#[cfg(test)]
|
||||
macro_rules! test_crud_for_store {
|
||||
($store: ident, $db_column: expr) => {
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user