Browse Source

lint: minor change in unit test

log-scale
JuanLeon Lahoz 3 years ago
parent
commit
93e8119bb9
  1. 2
      src/format/mod.rs

2
src/format/mod.rs

@ -230,6 +230,6 @@ mod tests {
#[test]
fn test_horizontal_scale_count() {
let scale = HorizontalScale::new(10);
assert_eq!(scale.get_count(80, 5), Green.paint(format!(" 80")));
assert_eq!(scale.get_count(80, 5), Green.paint(" 80".to_string()));
}
}

Loading…
Cancel
Save