From 93e8119bb92db5d33c972a08a1e1813548b479db Mon Sep 17 00:00:00 2001 From: JuanLeon Lahoz Date: Sun, 8 Jan 2023 15:44:25 +0100 Subject: [PATCH] lint: minor change in unit test --- src/format/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/mod.rs b/src/format/mod.rs index 2062455..f507834 100644 --- a/src/format/mod.rs +++ b/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())); } }