From 7bfcfd2242e2e5a8ad1599ad916e288b0e025eb8 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Tue, 9 Aug 2022 21:13:31 -0700 Subject: [PATCH] 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. --- src/test/rustdoc/intra-doc/assoc-reexport-super.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc/intra-doc/assoc-reexport-super.rs b/src/test/rustdoc/intra-doc/assoc-reexport-super.rs index c1dda3b4c6cf..a7bc1c6a29f5 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; } }