about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-04-20 18:57:26 -0400
committerSmitty <me@smitop.com>2021-04-20 18:57:26 -0400
commita9ff7ac9c3e583e7723722319d48caf35bdc0efb (patch)
tree8811df8a1b86df15e8d0811979623a5e074c12b6 /src
parent7cf4f4276f691b3052df64930a9f02e33e2783df (diff)
downloadrust-a9ff7ac9c3e583e7723722319d48caf35bdc0efb.tar.gz
rust-a9ff7ac9c3e583e7723722319d48caf35bdc0efb.zip
Merge mod-title and item-title tests
Diffstat (limited to 'src')
-rw-r--r--src/test/rustdoc/item-title.rs1
-rw-r--r--src/test/rustdoc/mod-title.rs12
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() {}
-}