Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/tests/record.rs')
-rw-r--r--crates/ide-completion/src/tests/record.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ide-completion/src/tests/record.rs b/crates/ide-completion/src/tests/record.rs
index 2c49761748..9e442dbbc5 100644
--- a/crates/ide-completion/src/tests/record.rs
+++ b/crates/ide-completion/src/tests/record.rs
@@ -41,6 +41,8 @@ fn foo(s: Struct) {
"#,
expect![[r#"
fd bar u32
+ kw mut
+ kw ref
"#]],
);
}
@@ -58,6 +60,8 @@ fn foo(e: Enum) {
"#,
expect![[r#"
fd bar u32
+ kw mut
+ kw ref
"#]],
);
}
@@ -93,6 +97,8 @@ fn foo(f: Struct) {
",
expect![[r#"
fd field u32
+ kw mut
+ kw ref
"#]],
);
}