Skip to content

Commit

Permalink
Fix failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
arpankapoor authored and Ballasi committed Oct 10, 2022
1 parent 3981b9c commit fbcc338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lang/en.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ mod tests {
Ok(String::from("minus ten"))
);
assert_eq!(
Num2Words::new(38123147081932)
Num2Words::new(38123147081932i64)
.lang(Lang::English)
.cardinal()
.to_words(),
Expand All @@ -348,7 +348,7 @@ mod tests {
))
);
assert_eq!(
Num2Words::new(100000000000)
Num2Words::new(100000000000i64)
.lang(Lang::English)
.cardinal()
.to_words(),
Expand Down

0 comments on commit fbcc338

Please sign in to comment.