Skip to content

Commit 8a1b9ca

Browse files
committed
Add test in ide-completion/src/tests/item_list.rs
1 parent 59dc1c9 commit 8a1b9ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/ide-completion/src/tests/item_list.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ trait Test {
299299
const CONST1: ();
300300
fn function0();
301301
fn function1();
302+
async fn function2();
302303
}
303304
304305
impl Test for () {
@@ -310,8 +311,9 @@ impl Test for () {
310311
"#,
311312
expect![[r#"
312313
ct const CONST1: () =
314+
fn async fn function2()
313315
fn fn function1()
314-
ma makro!(…) macro_rules! makro
316+
ma makro!(…) macro_rules! makro
315317
md module
316318
ta type Type1 =
317319
kw crate::

0 commit comments

Comments
 (0)