Improve a test failure message
This commit is contained in:
parent
1a7e43a31d
commit
28b0e5d197
|
|
@ -112,7 +112,8 @@ fn block_test_vectors_height(network: Network) {
|
||||||
.expect("block is structurally valid");
|
.expect("block is structurally valid");
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
block.coinbase_height().expect("block height is valid").0,
|
block.coinbase_height().expect("block height is valid").0,
|
||||||
height
|
height,
|
||||||
|
"deserialized height must match BTreeMap key height"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue