removed redundant test

This commit is contained in:
Jeroen Vannevel 2022-02-01 00:38:33 +00:00
parent 269153388a
commit b290285dd8
No known key found for this signature in database
GPG key ID: 78EF5F52F38C49BD

View 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;
}
"#,
);
}