Skip to content

Commit 9059aff

Browse files
committed
Update ide tests
1 parent 1a7b113 commit 9059aff

File tree

6 files changed

+135
-134
lines changed

6 files changed

+135
-134
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
@@ -1867,8 +1867,8 @@ fn f() { A { bar: b$0 }; }
18671867
expect![[r#"
18681868
fn bar() [type+name]
18691869
fn baz() [type]
1870-
ex baz() [type]
18711870
ex bar() [type]
1871+
ex baz() [type]
18721872
st A []
18731873
fn f() []
18741874
"#]],

0 commit comments

Comments
 (0)