From b477f99bd9d6ae81001451cc310efe0ac950eb61 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 11 Sep 2020 00:20:13 +0300 Subject: [PATCH] One more test --- crates/assists/src/handlers/remove_dbg.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/assists/src/handlers/remove_dbg.rs b/crates/assists/src/handlers/remove_dbg.rs index 9397efd63d5..0b581dc22a2 100644 --- a/crates/assists/src/handlers/remove_dbg.rs +++ b/crates/assists/src/handlers/remove_dbg.rs @@ -242,6 +242,8 @@ fn main() { r#"let res = <|>dbg!(a + b).foo();"#, r#"let res = (a + b).foo();"#, ); + + check_assist(remove_dbg, r#"let res = <|>dbg!(2 + 2) * 5"#, r#"let res = (2 + 2) * 5"#); } #[test]