From 9dbe902800d5ba87b08b15adb157adbe9be02e75 Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Wed, 10 Oct 2018 21:18:08 +0200 Subject: 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. --- src/test/rustdoc/issue-46767.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/rustdoc') 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' -- cgit 1.4.1-3-g733a5