From 8b0298ce095b6dd635f7ed35dc97f1874157040b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 27 Aug 2018 10:01:31 +0300 Subject: scopes --- crates/libeditor/tests/test.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/libeditor/tests') 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() { do_check(r" fn quux(x: i32) { let y = 92; - 1 + <|> + 1 + <|>; + let z = (); } ", r#"[CompletionItem { name: "y" }, CompletionItem { name: "x" }]"#); -- cgit v1.2.3