Improve a test failure message

This commit is contained in:
teor 2020-09-29 17:33:14 +10:00 committed by Deirdre Connolly
parent 1a7e43a31d
commit 28b0e5d197
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ fn block_test_vectors_height(network: Network) {
.expect("block is structurally valid");
assert_eq!(
block.coinbase_height().expect("block height is valid").0,
height
height,
"deserialized height must match BTreeMap key height"
);
}
}