Skip to content

Commit

Permalink
Update ide tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Oct 21, 2024
1 parent bbaeeb8 commit e9da1dc
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 178 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -1853,8 +1853,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 e9da1dc

Please sign in to comment.