chore: format
This commit is contained in:
parent
d824cb319a
commit
7db7fdaabe
1 changed files with 2 additions and 1 deletions
|
@ -77,7 +77,8 @@ macro_rules! macro_doctest {
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[macro_export] macro_rules! macro_unit_tests {
|
#[macro_export]
|
||||||
|
macro_rules! macro_unit_tests {
|
||||||
(@test $macro_name:ident($attr:ident, $item:ident) becomes $expanded:ident) => {
|
(@test $macro_name:ident($attr:ident, $item:ident) becomes $expanded:ident) => {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
::std::format!("{}", $macro_name($attr, $item)),
|
::std::format!("{}", $macro_name($attr, $item)),
|
||||||
|
|
Loading…
Reference in a new issue