diff options
author | Kirill Bulatov <[email protected]> | 2020-09-10 22:20:13 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-09-10 22:20:13 +0100 |
commit | b477f99bd9d6ae81001451cc310efe0ac950eb61 (patch) | |
tree | 074141eeca3e989cb2054a84a1b9d3e0b5e6af1e | |
parent | 208d4609b0f0168536074135058504f9e7de8932 (diff) |
One more test
-rw-r--r-- | crates/assists/src/handlers/remove_dbg.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/assists/src/handlers/remove_dbg.rs b/crates/assists/src/handlers/remove_dbg.rs index 9397efd63..0b581dc22 100644 --- a/crates/assists/src/handlers/remove_dbg.rs +++ b/crates/assists/src/handlers/remove_dbg.rs | |||
@@ -242,6 +242,8 @@ fn main() { | |||
242 | r#"let res = <|>dbg!(a + b).foo();"#, | 242 | r#"let res = <|>dbg!(a + b).foo();"#, |
243 | r#"let res = (a + b).foo();"#, | 243 | r#"let res = (a + b).foo();"#, |
244 | ); | 244 | ); |
245 | |||
246 | check_assist(remove_dbg, r#"let res = <|>dbg!(2 + 2) * 5"#, r#"let res = (2 + 2) * 5"#); | ||
245 | } | 247 | } |
246 | 248 | ||
247 | #[test] | 249 | #[test] |