aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-27 08:01:31 +0100
committerAleksey Kladov <[email protected]>2018-08-27 08:01:31 +0100
commit8b0298ce095b6dd635f7ed35dc97f1874157040b (patch)
tree3d6f941f7612ba1800c1e2f9fbb0a94761999be7 /crates/libeditor/tests
parent9b69c7df194d5f9081698745ed20414d7c7c2f1c (diff)
scopes
Diffstat (limited to 'crates/libeditor/tests')
-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" }]"#);