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.
This commit is contained in:
parent
fcbdf08a86
commit
7bfcfd2242
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user