diff options
Diffstat (limited to 'crates/libeditor/tests')
-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 { |