diff options
author | Aleksey Kladov <[email protected]> | 2018-08-23 22:13:16 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-23 22:13:16 +0100 |
commit | f47f58ffe5fb494c883ec4fd120cdd63ad31cc68 (patch) | |
tree | 88ea9aebf54da8008a9adc359e0e613d6a160a61 /crates/libeditor/tests/test.rs | |
parent | 8ad586a44e2214a11c4e7d27e0d3c2d73e43f39f (diff) |
better join-lines
Diffstat (limited to 'crates/libeditor/tests/test.rs')
-rw-r--r-- | crates/libeditor/tests/test.rs | 8 |
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" | ||
229 | struct Foo <|>{ | ||
230 | f: u32, | ||
231 | }<|> | ||
232 | ", r" | ||
233 | struct Foo { f: u32 } | ||
234 | "); | ||
227 | } | 235 | } |
228 | 236 | ||
229 | fn file(text: &str) -> ParsedFile { | 237 | fn file(text: &str) -> ParsedFile { |