Auto merge of #44949 - QuietMisdreavus:rustdoctest-dirs, r=nikomatsakis
let htmldocck.py check for directories Since i messed this up during https://github.com/rust-lang/rust/pull/44613, i wanted to codify this into the rustdoc tests to make sure that doesn't happen again.
This commit is contained in:
commit
4502e2aa9c
2 changed files with 21 additions and 0 deletions
|
|
@ -34,16 +34,19 @@ pub use mod1::*;
|
|||
// @has foo/struct.Mod2Public.html
|
||||
// @!has foo/struct.Mod2Private.html
|
||||
|
||||
// @has-dir foo/mod1
|
||||
// @!has foo/mod1/index.html
|
||||
// @has foo/mod1/struct.Mod1Public.html
|
||||
// @!has foo/mod1/struct.Mod1Private.html
|
||||
// @!has foo/mod1/struct.Mod2Public.html
|
||||
// @!has foo/mod1/struct.Mod2Private.html
|
||||
|
||||
// @has-dir foo/mod1/mod2
|
||||
// @!has foo/mod1/mod2/index.html
|
||||
// @has foo/mod1/mod2/struct.Mod2Public.html
|
||||
// @!has foo/mod1/mod2/struct.Mod2Private.html
|
||||
|
||||
// @!has-dir foo/mod2
|
||||
// @!has foo/mod2/index.html
|
||||
// @!has foo/mod2/struct.Mod2Public.html
|
||||
// @!has foo/mod2/struct.Mod2Private.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue