From ea284a4d56035b8fee5d391ab6285769273f3fd2 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 13 Oct 2020 08:28:14 +1000 Subject: [PATCH] Rename a test function --- zebra-consensus/src/block/tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra-consensus/src/block/tests.rs b/zebra-consensus/src/block/tests.rs index c9c272c7..2ee5419b 100644 --- a/zebra-consensus/src/block/tests.rs +++ b/zebra-consensus/src/block/tests.rs @@ -130,7 +130,7 @@ async fn check_transcripts() -> Result<(), Report> { } #[test] -fn subsidy_is_valid_test() -> Result<(), Report> { +fn subsidy_is_valid_for_historical_blocks() -> Result<(), Report> { subsidy_is_valid_for_network(Network::Mainnet)?; subsidy_is_valid_for_network(Network::Testnet)?; @@ -154,6 +154,7 @@ fn subsidy_is_valid_for_network(network: Network) -> Result<(), Report> { check::subsidy_is_valid(&block, network).expect("subsidies should pass for this block"); } } + Ok(()) }