Add test for title of root page in item-title.rs

This commit is contained in:
Smitty 2021-04-20 19:53:44 -04:00
parent 05121a22e6
commit 3ddafb2d7c
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +0,0 @@
#![crate_name = "foo"]
// @has foo/index.html '//head/title' 'foo - Rust'

View File

@ -1,6 +1,8 @@
#![crate_name = "foo"] #![crate_name = "foo"]
#![feature(doc_keyword)] #![feature(doc_keyword)]
// @has foo/index.html '//head/title' 'foo - Rust'
// @has foo/fn.widget_count.html '//head/title' 'widget_count in foo - Rust' // @has foo/fn.widget_count.html '//head/title' 'widget_count in foo - Rust'
/// blah /// blah
pub fn widget_count() {} pub fn widget_count() {}