aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/tests/test.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-28 12:21:37 +0100
committerAleksey Kladov <[email protected]>2018-08-28 12:21:37 +0100
commit6c41a205a908eb94f139f968f803e728fc3418c6 (patch)
treea57ecdabdb29151a05c8b6be3e06009f464e2941 /crates/libeditor/tests/test.rs
parent288c9d1ac625c4fa451bdb8ff54830fb9f9795e0 (diff)
join any block
Diffstat (limited to 'crates/libeditor/tests/test.rs')
-rw-r--r--crates/libeditor/tests/test.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs
index 2be54215a..440afe92d 100644
--- a/crates/libeditor/tests/test.rs
+++ b/crates/libeditor/tests/test.rs
@@ -222,6 +222,15 @@ pub fn reparse(&self, edit: &AtomEdit) -> File {
222 <|>self.incremental_reparse(edit).unwrap_or_else(|| self.full_reparse(edit)) 222 <|>self.incremental_reparse(edit).unwrap_or_else(|| self.full_reparse(edit))
223} 223}
224"); 224");
225 do_check(r"
226fn foo() {
227 foo(<|>{
228 92
229 })
230}", r"
231fn foo() {
232 foo(<|>92)
233}");
225} 234}
226 235
227#[test] 236#[test]