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.
This commit is contained in:
Philip Munksgaard 2018-10-05 22:55:13 +02:00
parent 5f8dc0ddf4
commit a9a26de8b3

View File

@ -43,6 +43,7 @@ mod private_no_inline {
// @has redirect/index.html
// @has - '//code' 'pub use private_no_inline::Qux'
// @!has - '//code/a' 'Qux'
// @!has - '//a' 'Qux'
// @!has redirect/struct.Qux.html
#[doc(no_inline)]
pub use private_no_inline::Qux;