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")]
|
#[cfg(feature = "rand-std")]
|
||||||
macro_rules! pmt_tests {
|
macro_rules! pmt_tests {
|
||||||
($($name:ident),* $(,)?) => {
|
($($name:ident),* $(,)?) => {
|
||||||
$(
|
$(
|
||||||
#[test]
|
#[test]
|
||||||
fn $name() {
|
fn $name() {
|
||||||
pmt_test_from_name(stringify!($name));
|
pmt_test_from_name(stringify!($name));
|
||||||
|
}
|
||||||
|
)*
|
||||||
}
|
}
|
||||||
)*
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#[cfg(feature = "rand-std")]
|
#[cfg(feature = "rand-std")]
|
||||||
pmt_tests!(
|
pmt_tests!(
|
||||||
pmt_test_1,
|
pmt_test_1,
|
||||||
|
|
Loading…
Reference in New Issue