Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/tests/expression.rs')
| -rw-r--r-- | crates/ide-completion/src/tests/expression.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/crates/ide-completion/src/tests/expression.rs b/crates/ide-completion/src/tests/expression.rs index 78907a2896..b835820260 100644 --- a/crates/ide-completion/src/tests/expression.rs +++ b/crates/ide-completion/src/tests/expression.rs @@ -97,6 +97,11 @@ fn func(param0 @ (param1, param2): (i32, i32)) { kw unsafe kw while kw while let + sn ifletlocal + sn letlocal + sn matcharm + sn param1 + sn param2 "#]], ); } @@ -238,9 +243,11 @@ fn complete_in_block() { kw use kw while kw while let + sn false sn macro_rules sn pd sn ppd + sn true "#]], ) } @@ -682,7 +689,9 @@ fn main() { } "#, expect![[r#" - fn test() fn() -> Zulu + fn test() fn() -> Zulu + sn Zulu + sn Zulu::test() "#]], ); } |