about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-01-17 20:40:47 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-01-27 14:50:34 +0100
commitc918efa6642c4ca6611068d09e7341731fd00a80 (patch)
tree88d4083ef6130346880f2a61b5ad46b62ed76d9f
parent5b654a7e5eaa377bb75fee8dd20b8daba6d408dd (diff)
downloadrust-c918efa6642c4ca6611068d09e7341731fd00a80.tar.gz
rust-c918efa6642c4ca6611068d09e7341731fd00a80.zip
Update rustdoc/redirect test
-rw-r--r--tests/rustdoc/redirect.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rustdoc/redirect.rs b/tests/rustdoc/redirect.rs
index e3a14c7a74a..5b7a76e1a77 100644
--- a/tests/rustdoc/redirect.rs
+++ b/tests/rustdoc/redirect.rs
@@ -9,9 +9,10 @@ pub trait Foo {}
 // @has redirect/index.html
 // @has - '//code' 'pub use reexp_stripped::Bar'
 // @has - '//code/a' 'Bar'
+// @has - '//a[@href="../reexp_stripped/hidden/struct.Bar.html"]' 'Bar'
 // @has reexp_stripped/hidden/struct.Bar.html
-// @has - '//p/a' '../../reexp_stripped/struct.Bar.html'
 // @has 'reexp_stripped/struct.Bar.html'
+// @has - '//a[@href="struct.Bar.html"]' 'Bar'
 #[doc(no_inline)]
 pub use reexp_stripped::Bar;
 impl Foo for Bar {}