Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_assists/src/tests/generated.rs')
-rw-r--r--crates/ide_assists/src/tests/generated.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs
index 39ab8c7b74..98e0bd6748 100644
--- a/crates/ide_assists/src/tests/generated.rs
+++ b/crates/ide_assists/src/tests/generated.rs
@@ -1227,6 +1227,22 @@ mod foo;
}
#[test]
+fn doctest_promote_mod_file() {
+ check_doc_test(
+ "promote_mod_file",
+ r#####"
+//- /main.rs
+mod a;
+//- /a.rs
+$0fn t() {}
+"#####,
+ r#####"
+fn t() {}
+"#####,
+ )
+}
+
+#[test]
fn doctest_pull_assignment_up() {
check_doc_test(
"pull_assignment_up",