Skip to content

Commit a9a26de

Browse files
committed
Fix redirect.rs test
Struct names are no longer encapsulated in `<code>` tags, which meant that the test was not correctly verifying that it wasn't being show. I've also added a check to make sure the documentation page for the redirect::Qux struct is not generated at all.
1 parent 5f8dc0d commit a9a26de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/rustdoc/redirect.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ mod private_no_inline {
4343

4444
// @has redirect/index.html
4545
// @has - '//code' 'pub use private_no_inline::Qux'
46-
// @!has - '//code/a' 'Qux'
46+
// @!has - '//a' 'Qux'
47+
// @!has redirect/struct.Qux.html
4748
#[doc(no_inline)]
4849
pub use private_no_inline::Qux;

0 commit comments

Comments
 (0)