Skip to content

Commit c918efa

Browse files
Update rustdoc/redirect test
1 parent 5b654a7 commit c918efa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/rustdoc/redirect.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ pub trait Foo {}
99
// @has redirect/index.html
1010
// @has - '//code' 'pub use reexp_stripped::Bar'
1111
// @has - '//code/a' 'Bar'
12+
// @has - '//a[@href="../reexp_stripped/hidden/struct.Bar.html"]' 'Bar'
1213
// @has reexp_stripped/hidden/struct.Bar.html
13-
// @has - '//p/a' '../../reexp_stripped/struct.Bar.html'
1414
// @has 'reexp_stripped/struct.Bar.html'
15+
// @has - '//a[@href="struct.Bar.html"]' 'Bar'
1516
#[doc(no_inline)]
1617
pub use reexp_stripped::Bar;
1718
impl Foo for Bar {}

0 commit comments

Comments
 (0)