Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomFryers committed Oct 22, 2023
1 parent 7976d7e commit e16032e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ mod test {
while float > -999_999.9 {
let string = signed_short(float);
println!("{}", string);
assert!(string.len() <= 7);
assert!(string.chars().count() <= 7);
float *= 2.0;
}
}
Expand Down

0 comments on commit e16032e

Please sign in to comment.