diff options
| -rw-r--r-- | src/test/rustdoc/item-title.rs | 1 | ||||
| -rw-r--r-- | src/test/rustdoc/mod-title.rs | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/test/rustdoc/item-title.rs b/src/test/rustdoc/item-title.rs index d0fbdf95ddc..4c0d233fbec 100644 --- a/src/test/rustdoc/item-title.rs +++ b/src/test/rustdoc/item-title.rs @@ -11,6 +11,7 @@ pub struct Widget; // @has foo/constant.ANSWER.html '//head/title' 'ANSWER in foo - Rust' pub const ANSWER: u8 = 42; +// @has foo/blah/index.html '//head/title' 'foo::blah - Rust' pub mod blah { // @has foo/blah/struct.Widget.html '//head/title' 'Widget in foo::blah - Rust' pub struct Widget; diff --git a/src/test/rustdoc/mod-title.rs b/src/test/rustdoc/mod-title.rs deleted file mode 100644 index 6b7f67d17ab..00000000000 --- a/src/test/rustdoc/mod-title.rs +++ /dev/null @@ -1,12 +0,0 @@ -#![crate_name = "foo"] - -// @has foo/bar/index.html '//head/title' 'foo::bar - Rust' -/// blah -pub mod bar { - pub fn a() {} -} - -// @has foo/baz/index.html '//head/title' 'foo::baz - Rust' -pub mod baz { - pub fn a() {} -} |
