diff options
author | Aleksey Kladov <[email protected]> | 2021-06-14 20:55:05 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-15 09:46:47 +0100 |
commit | 3f4ad44082abe7256825f6fc692c1455a1eb28bb (patch) | |
tree | 2cd099af0420486014a40d730ac492a6686418b7 /crates/ide_assists/src | |
parent | c2015e7d182f3cb2cebe686127dd6a3e683df9e6 (diff) |
internal: document that we don't #[ignore] tests
Diffstat (limited to 'crates/ide_assists/src')
-rw-r--r-- | crates/ide_assists/src/handlers/fix_visibility.rs | 32 |
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 { | 592 | mod 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 | 596 | foo::Baz$0 |
597 | ", | 597 | "#, |
598 | r" | 598 | r#" |
599 | mod foo { | 599 | mod 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 | 603 | foo::Baz |
604 | ", | 604 | "#, |
605 | ) | 605 | ) |
606 | } | 606 | } |
607 | } | 607 | } |