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.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/crates/ide-assists/src/tests/generated.rs b/crates/ide-assists/src/tests/generated.rs
index 8a1e95d894..eed50a8562 100644
--- a/crates/ide-assists/src/tests/generated.rs
+++ b/crates/ide-assists/src/tests/generated.rs
@@ -1737,34 +1737,34 @@ const test: Foo = Foo {foo: 1, bar: 0}
}
#[test]
-fn doctest_reorder_impl() {
+fn doctest_reorder_impl_items() {
check_doc_test(
- "reorder_impl",
+ "reorder_impl_items",
r#####"
trait Foo {
- fn a() {}
- fn b() {}
- fn c() {}
+ type A;
+ const B: u8;
+ fn c();
}
struct Bar;
$0impl Foo for Bar {
- fn b() {}
+ const B: u8 = 17;
fn c() {}
- fn a() {}
+ type A = String;
}
"#####,
r#####"
trait Foo {
- fn a() {}
- fn b() {}
- fn c() {}
+ type A;
+ const B: u8;
+ fn c();
}
struct Bar;
impl Foo for Bar {
- fn a() {}
- fn b() {}
+ type A = String;
+ const B: u8 = 17;
fn c() {}
}
"#####,