diff options
| author | Philip Munksgaard <pmunksgaard@gmail.com> | 2018-10-10 21:18:08 +0200 |
|---|---|---|
| committer | Philip Munksgaard <pmunksgaard@gmail.com> | 2018-10-10 21:20:00 +0200 |
| commit | 9dbe902800d5ba87b08b15adb157adbe9be02e75 (patch) | |
| tree | aa0b7e0ac52f7e49e7fa38d4cb2e062fd53bf336 /src/test/rustdoc | |
| parent | e8bc04e1c8e0e27bcc3e5915d465ca12b0254565 (diff) | |
| download | rust-9dbe902800d5ba87b08b15adb157adbe9be02e75.tar.gz rust-9dbe902800d5ba87b08b15adb157adbe9be02e75.zip | |
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.
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/issue-46767.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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' |
