We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c86657 commit 7d10752Copy full SHA for 7d10752
crates/ide_db/src/helpers/insert_use/tests.rs
@@ -401,6 +401,21 @@ use foo::bar::Baz;"#,
401
);
402
}
403
404
+#[test]
405
+fn inserts_after_multiple_single_line_comments() {
406
+ check_none(
407
+ "foo::bar::Baz",
408
+ "// Represents a possible license header and/or general module comments
409
+// Second single-line comment
410
+// Third single-line comment",
411
+ r#"// Represents a possible license header and/or general module comments
412
413
+// Third single-line comment
414
+
415
+use foo::bar::Baz;"#,
416
+ );
417
+}
418
419
#[test]
420
fn inserts_before_single_line_item_comments() {
421
check_none(
0 commit comments