aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/tests/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libeditor/tests/test.rs')
-rw-r--r--crates/libeditor/tests/test.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs
index ecdc149c7..7979bfffe 100644
--- a/crates/libeditor/tests/test.rs
+++ b/crates/libeditor/tests/test.rs
@@ -268,7 +268,8 @@ fn test_completion() {
268 do_check(r" 268 do_check(r"
269fn quux(x: i32) { 269fn quux(x: i32) {
270 let y = 92; 270 let y = 92;
271 1 + <|> 271 1 + <|>;
272 let z = ();
272} 273}
273", r#"[CompletionItem { name: "y" }, 274", r#"[CompletionItem { name: "y" },
274 CompletionItem { name: "x" }]"#); 275 CompletionItem { name: "x" }]"#);