Fix indentation in pmt_tests macro
The macro has unusual indentation, fix to to be more regular.
This commit is contained in:
parent
a7edbfb52e
commit
5076579fb9
|
@ -515,15 +515,16 @@ mod tests {
|
|||
|
||||
#[cfg(feature = "rand-std")]
|
||||
macro_rules! pmt_tests {
|
||||
($($name:ident),* $(,)?) => {
|
||||
$(
|
||||
#[test]
|
||||
fn $name() {
|
||||
pmt_test_from_name(stringify!($name));
|
||||
($($name:ident),* $(,)?) => {
|
||||
$(
|
||||
#[test]
|
||||
fn $name() {
|
||||
pmt_test_from_name(stringify!($name));
|
||||
}
|
||||
)*
|
||||
}
|
||||
)*
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "rand-std")]
|
||||
pmt_tests!(
|
||||
pmt_test_1,
|
||||
|
|
Loading…
Reference in New Issue