Skip to content

Commit 7bfcfd2

Browse files
committed
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.
1 parent fcbdf08 commit 7bfcfd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/intra-doc/assoc-reexport-super.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub use generated::MyNewType;
1414
mod prelude {
1515
impl super::MyNewType {
1616
/// An alias for [`Self::FOO`].
17-
// @has 'foo/struct.MyNewType.html' '//a[@href="struct.MyNewType.html#associatedconstant.FOO"]'
17+
// @has 'foo/struct.MyNewType.html' '//a[@href="struct.MyNewType.html#associatedconstant.FOO"]' 'Self::FOO'
1818
pub const FOO2: Self = Self::FOO;
1919
}
2020
}

0 commit comments

Comments
 (0)