]> git.lizzy.rs Git - rust.git/commitdiff
removed redundant test
authorJeroen Vannevel <jer_vannevel@outlook.com>
Tue, 1 Feb 2022 00:38:33 +0000 (00:38 +0000)
committerJeroen Vannevel <jer_vannevel@outlook.com>
Tue, 1 Feb 2022 00:38:33 +0000 (00:38 +0000)
crates/ide_assists/src/handlers/extract_function.rs

index abd6f89f833e2177eabf8e984c240deea8b3d019..3750ac6127362030d8798241ad04c4f8d21f5eca 100644 (file)
@@ -4597,37 +4597,6 @@ fn $0fun_name() {
     /* a comment */
     let x = 0;
 }
-"#,
-        );
-    }
-
-    #[test]
-    fn extract_function_long_form_comment_multiline() {
-        check_assist(
-            extract_function,
-            r#"
-fn func() {
-    let i = 0;
-    $0/*
-    a
-    comment
-    */
-    let x = 0;$0
-}
-"#,
-            r#"
-fn func() {
-    let i = 0;
-    fun_name();
-}
-
-fn $0fun_name() {
-    /*
-    a
-    comment
-    */
-    let x = 0;
-}
 "#,
         );
     }