aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-09-10 22:20:13 +0100
committerKirill Bulatov <[email protected]>2020-09-10 22:20:13 +0100
commitb477f99bd9d6ae81001451cc310efe0ac950eb61 (patch)
tree074141eeca3e989cb2054a84a1b9d3e0b5e6af1e /crates
parent208d4609b0f0168536074135058504f9e7de8932 (diff)
One more test
Diffstat (limited to 'crates')
-rw-r--r--crates/assists/src/handlers/remove_dbg.rs2
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]