From 5076579fb9ae9602d50cbb75da1d98bd763c650f Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 14 Nov 2022 08:35:15 +1100 Subject: [PATCH] Fix indentation in pmt_tests macro The macro has unusual indentation, fix to to be more regular. --- bitcoin/src/merkle_tree/block.rs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/bitcoin/src/merkle_tree/block.rs b/bitcoin/src/merkle_tree/block.rs index e5133fa8..c786e6c3 100644 --- a/bitcoin/src/merkle_tree/block.rs +++ b/bitcoin/src/merkle_tree/block.rs @@ -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,