about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2022-08-09 21:13:31 -0700
committerNoah Lev <camelidcamel@gmail.com>2022-08-09 21:18:12 -0700
commit7bfcfd2242e2e5a8ad1599ad916e288b0e025eb8 (patch)
tree82012d254706e2fb712c1ea26197c7eb592dd230
parentfcbdf08a86216291ff747500b7cfe4d11feb92ad (diff)
downloadrust-7bfcfd2242e2e5a8ad1599ad916e288b0e025eb8.tar.gz
rust-7bfcfd2242e2e5a8ad1599ad916e288b0e025eb8.zip
Fix failing test
For some reason, adding some text to match against makes this test pass.
Before, when it was *more* general, it was failing!

This seems very likely to be a bug in htmldocck, which I'm going to
investigate.
-rw-r--r--src/test/rustdoc/intra-doc/assoc-reexport-super.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/intra-doc/assoc-reexport-super.rs b/src/test/rustdoc/intra-doc/assoc-reexport-super.rs
index c1dda3b4c6c..a7bc1c6a29f 100644
--- a/src/test/rustdoc/intra-doc/assoc-reexport-super.rs
+++ b/src/test/rustdoc/intra-doc/assoc-reexport-super.rs
@@ -14,7 +14,7 @@ pub use generated::MyNewType;
 mod prelude {
     impl super::MyNewType {
         /// An alias for [`Self::FOO`].
-        // @has 'foo/struct.MyNewType.html' '//a[@href="struct.MyNewType.html#associatedconstant.FOO"]'
+        // @has 'foo/struct.MyNewType.html' '//a[@href="struct.MyNewType.html#associatedconstant.FOO"]' 'Self::FOO'
         pub const FOO2: Self = Self::FOO;
     }
 }