Skip to content

Commit 70d0b57

Browse files
committed
Update ide tests
1 parent 1cdc34f commit 70d0b57

File tree

8 files changed

+179
-178
lines changed

8 files changed

+179
-178
lines changed

crates/ide-assists/src/handlers/bool_to_enum.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,7 @@ fn main() {
10951095

10961096
#[test]
10971097
fn field_enum_cross_file() {
1098+
// FIXME: The import is missing
10981099
check_assist(
10991100
bool_to_enum,
11001101
r#"
@@ -1132,7 +1133,7 @@ fn foo() {
11321133
}
11331134
11341135
//- /main.rs
1135-
use foo::{Bool, Foo};
1136+
use foo::Foo;
11361137
11371138
mod foo;
11381139

crates/ide-completion/src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1853,8 +1853,8 @@ fn f() { A { bar: b$0 }; }
18531853
expect![[r#"
18541854
fn bar() [type+name]
18551855
fn baz() [type]
1856-
ex baz() [type]
18571856
ex bar() [type]
1857+
ex baz() [type]
18581858
st A []
18591859
fn f() []
18601860
"#]],

0 commit comments

Comments
 (0)