aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-23 22:13:16 +0100
committerAleksey Kladov <[email protected]>2018-08-23 22:13:16 +0100
commitf47f58ffe5fb494c883ec4fd120cdd63ad31cc68 (patch)
tree88ea9aebf54da8008a9adc359e0e613d6a160a61 /crates/libeditor/tests
parent8ad586a44e2214a11c4e7d27e0d3c2d73e43f39f (diff)
better join-lines
Diffstat (limited to 'crates/libeditor/tests')
-rw-r--r--crates/libeditor/tests/test.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs
index e5088ad27..858c6c4a6 100644
--- a/crates/libeditor/tests/test.rs
+++ b/crates/libeditor/tests/test.rs
@@ -224,6 +224,14 @@ fn foo() {
224 foo(1, 2, 3) 224 foo(1, 2, 3)
225} 225}
226"); 226");
227
228 do_check(r"
229struct Foo <|>{
230 f: u32,
231}<|>
232", r"
233struct Foo { f: u32 }
234");
227} 235}
228 236
229fn file(text: &str) -> ParsedFile { 237fn file(text: &str) -> ParsedFile {