Skip to content

Commit 8deeae0

Browse files
committed
Merge rust-bitcoin#4726: fix: typo in panic message in amount module tests
ff48db2 fix: typo in panic message in amount module tests (MozirDmitriy) Pull request description: The panic message in the amount module tests contained a typo: "failed to crate amount from" was corrected to "failed to create amount from". ACKs for top commit: apoelstra: ACK ff48db2; successfully ran local tests Tree-SHA512: f82dc631c4558aa68d3dd2a5db40cbcb1cfe49f02f6484bc43c613995cfa1db30bd41a90634b91ea770d7c6b5fb2a4fc6206d7e5c4afa7d79843fddd97d8f3dd
2 parents d56834d + ff48db2 commit 8deeae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/src/amount/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fn from_str_zero() {
7070
for v in &["0", "000"] {
7171
let s = format!("{} {}", v, denom);
7272
match s.parse::<Amount>() {
73-
Err(e) => panic!("failed to crate amount from {}: {:?}", s, e),
73+
Err(e) => panic!("failed to create amount from {}: {:?}", s, e),
7474
Ok(amount) => assert_eq!(amount, Amount::ZERO),
7575
}
7676
}

0 commit comments

Comments
 (0)