Skip to content

Commit ff48db2

Browse files
authored
fix: typo in panic message in amount module tests
The panic message in the amount module tests contained a typo: "failed to crate amount from" was corrected to "failed to create amount from".
1 parent 682394b commit ff48db2

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)