aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/tests/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libeditor/tests/test.rs')
-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 {