diff --git a/src/test/rustdoc/issue-46767.rs b/src/test/rustdoc/issue-46767.rs index 855de150b0a..1e6b697cd5f 100644 --- a/src/test/rustdoc/issue-46767.rs +++ b/src/test/rustdoc/issue-46767.rs @@ -15,4 +15,5 @@ mod private { } pub use self::private::Enum::*; -// @!has foo/index.html '//a/@href' './private/index.html' +// @!has-dir foo/private +// @!has foo/index.html '//a/@href' 'private/index.html'