aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/assists/src/tests')
-rw-r--r--crates/assists/src/tests/generated.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/crates/assists/src/tests/generated.rs b/crates/assists/src/tests/generated.rs
index 173567003..04c8fd1f9 100644
--- a/crates/assists/src/tests/generated.rs
+++ b/crates/assists/src/tests/generated.rs
@@ -751,6 +751,27 @@ impl Walrus {
751} 751}
752 752
753#[test] 753#[test]
754fn doctest_remove_unused_param() {
755 check_doc_test(
756 "remove_unused_param",
757 r#####"
758fn frobnicate(x: i32<|>) {}
759
760fn main() {
761 frobnicate(92);
762}
763"#####,
764 r#####"
765fn frobnicate() {}
766
767fn main() {
768 frobnicate();
769}
770"#####,
771 )
772}
773
774#[test]
754fn doctest_reorder_fields() { 775fn doctest_reorder_fields() {
755 check_doc_test( 776 check_doc_test(
756 "reorder_fields", 777 "reorder_fields",