diff options
Diffstat (limited to 'crates/ide_assists/src/tests')
-rw-r--r-- | crates/ide_assists/src/tests/generated.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs index 27a22ca10..53f455adf 100644 --- a/crates/ide_assists/src/tests/generated.rs +++ b/crates/ide_assists/src/tests/generated.rs | |||
@@ -292,6 +292,21 @@ fn main() { | |||
292 | } | 292 | } |
293 | 293 | ||
294 | #[test] | 294 | #[test] |
295 | fn doctest_convert_tuple_struct_to_named_struct() { | ||
296 | check_doc_test( | ||
297 | "convert_tuple_struct_to_named_struct", | ||
298 | r#####" | ||
299 | struct Inner; | ||
300 | struct A$0(Inner); | ||
301 | "#####, | ||
302 | r#####" | ||
303 | struct Inner; | ||
304 | struct A { field1: Inner } | ||
305 | "#####, | ||
306 | ) | ||
307 | } | ||
308 | |||
309 | #[test] | ||
295 | fn doctest_expand_glob_import() { | 310 | fn doctest_expand_glob_import() { |
296 | check_doc_test( | 311 | check_doc_test( |
297 | "expand_glob_import", | 312 | "expand_glob_import", |