aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-15 09:48:15 +0100
committerGitHub <[email protected]>2021-06-15 09:48:15 +0100
commitfa4c851619f245b2fdd2bf9b135d5ecf5efb4bc7 (patch)
tree6543766c6134b5cbca4b0da48a2e09c32714a340 /crates/ide_assists
parent7d363755a27f3bc89a5c7f5d15c8664299436bb4 (diff)
parent3f4ad44082abe7256825f6fc692c1455a1eb28bb (diff)
Merge #9278
9278: internal: document that we don't #[ignore] tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide_assists')
-rw-r--r--crates/ide_assists/src/handlers/fix_visibility.rs32
1 files changed, 16 insertions, 16 deletions
diff --git a/crates/ide_assists/src/handlers/fix_visibility.rs b/crates/ide_assists/src/handlers/fix_visibility.rs
index 9b432e92f..2f2b605fc 100644
--- a/crates/ide_assists/src/handlers/fix_visibility.rs
+++ b/crates/ide_assists/src/handlers/fix_visibility.rs
@@ -583,25 +583,25 @@ pub struct Foo { pub(crate) bar: () }
583 } 583 }
584 584
585 #[test] 585 #[test]
586 #[ignore]
587 // FIXME handle reexports properly
588 fn fix_visibility_of_reexport() { 586 fn fix_visibility_of_reexport() {
587 // FIXME: broken test, this should fix visibility of the re-export
588 // rather than the struct.
589 check_assist( 589 check_assist(
590 fix_visibility, 590 fix_visibility,
591 r" 591 r#"
592 mod foo { 592mod foo {
593 use bar::Baz; 593 use bar::Baz;
594 mod bar { pub(super) struct Baz; } 594 mod bar { pub(super) struct Baz; }
595 } 595}
596 foo::Baz$0 596foo::Baz$0
597 ", 597"#,
598 r" 598 r#"
599 mod foo { 599mod foo {
600 $0pub(crate) use bar::Baz; 600 use bar::Baz;
601 mod bar { pub(super) struct Baz; } 601 mod bar { $0pub(crate) struct Baz; }
602 } 602}
603 foo::Baz 603foo::Baz
604 ", 604"#,
605 ) 605 )
606 } 606 }
607} 607}