Skip to content

Commit 9dbe902

Browse files
committed
Fix issue-46767 test
The link that is matched against is not the same as would be generated by rustdoc. We should also check that the `foo/private` directory is not generated at all.
1 parent e8bc04e commit 9dbe902

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/rustdoc/issue-46767.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ mod private {
1515
}
1616
pub use self::private::Enum::*;
1717

18-
// @!has foo/index.html '//a/@href' './private/index.html'
18+
// @!has-dir foo/private
19+
// @!has foo/index.html '//a/@href' 'private/index.html'

0 commit comments

Comments
 (0)