Skip to content

Commit

Permalink
Fix issue-46767 test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Munksgaard committed Oct 10, 2018
1 parent e8bc04e commit 9dbe902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/rustdoc/issue-46767.rs
Expand Up @@ -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'

0 comments on commit 9dbe902

Please sign in to comment.