Skip to content

Commit

Permalink
Update ide tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Sep 4, 2024
1 parent 1a7b113 commit 6a78851
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 178 deletions.
3 changes: 2 additions & 1 deletion crates/ide-assists/src/handlers/bool_to_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@ fn main() {

#[test]
fn field_enum_cross_file() {
// FIXME: The import is missing
check_assist(
bool_to_enum,
r#"
Expand Down Expand Up @@ -1132,7 +1133,7 @@ fn foo() {
}
//- /main.rs
use foo::{Bool, Foo};
use foo::Foo;
mod foo;
Expand Down
2 changes: 1 addition & 1 deletion crates/ide-completion/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1867,8 +1867,8 @@ fn f() { A { bar: b$0 }; }
expect![[r#"
fn bar() [type+name]
fn baz() [type]
ex baz() [type]
ex bar() [type]
ex baz() [type]
st A []
fn f() []
"#]],
Expand Down
Loading

0 comments on commit 6a78851

Please sign in to comment.