diff options
| author | Smitty <me@smitop.com> | 2021-04-20 19:53:44 -0400 |
|---|---|---|
| committer | Smitty <me@smitop.com> | 2021-04-20 19:53:44 -0400 |
| commit | 3ddafb2d7c96787e692e90c76f2ca5bdb936cb0c (patch) | |
| tree | bd2e4245136839d88e6390d6c0d605594837a6ff /src | |
| parent | 05121a22e61c02933ea1c619e4126b4dafe2a2d1 (diff) | |
| download | rust-3ddafb2d7c96787e692e90c76f2ca5bdb936cb0c.tar.gz rust-3ddafb2d7c96787e692e90c76f2ca5bdb936cb0c.zip | |
Add test for title of root page in item-title.rs
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/rustdoc/crate-title.rs | 3 | ||||
| -rw-r--r-- | src/test/rustdoc/title.rs (renamed from src/test/rustdoc/item-title.rs) | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/test/rustdoc/crate-title.rs b/src/test/rustdoc/crate-title.rs deleted file mode 100644 index 6f96f98e707..00000000000 --- a/src/test/rustdoc/crate-title.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![crate_name = "foo"] - -// @has foo/index.html '//head/title' 'foo - Rust' diff --git a/src/test/rustdoc/item-title.rs b/src/test/rustdoc/title.rs index 4c0d233fbec..b0e22af0b1c 100644 --- a/src/test/rustdoc/item-title.rs +++ b/src/test/rustdoc/title.rs @@ -1,6 +1,8 @@ #![crate_name = "foo"] #![feature(doc_keyword)] +// @has foo/index.html '//head/title' 'foo - Rust' + // @has foo/fn.widget_count.html '//head/title' 'widget_count in foo - Rust' /// blah pub fn widget_count() {} |
