diff --git a/src/component/test.rs b/src/component/test.rs index b1442eb..c6184cb 100644 --- a/src/component/test.rs +++ b/src/component/test.rs @@ -205,8 +205,8 @@ impl Component { } fn compare_hl(expected: &str, actual: &str) -> String { - let hl_expected = Component::hl(expected.clone()); - let hl_actual = Component::hl(actual.clone()); + let hl_expected = Component::hl(expected); + let hl_actual = Component::hl(actual); if expected == actual { return format!(