Just merge all of the <title> tests into one

This commit is contained in:
Smitty 2021-04-20 19:56:28 -04:00
parent 3ddafb2d7c
commit df147c718c
2 changed files with 8 additions and 7 deletions

View File

@ -1,7 +0,0 @@
#![crate_name = "foo"]
// @has foo/primitive.u8.html '//head/title' 'u8 - Rust'
// @!has - '//head/title' 'foo'
#[doc(primitive = "u8")]
/// `u8` docs
mod u8 {}

View File

@ -1,6 +1,8 @@
#![crate_name = "foo"]
#![feature(doc_keyword)]
// tests for the html <title> element
// @has foo/index.html '//head/title' 'foo - Rust'
// @has foo/fn.widget_count.html '//head/title' 'widget_count in foo - Rust'
@ -34,3 +36,9 @@ pub mod blah {
// @has foo/keyword.continue.html '//head/title' 'continue - Rust'
#[doc(keyword = "continue")]
mod continue_keyword {}
// @has foo/primitive.u8.html '//head/title' 'u8 - Rust'
// @!has - '//head/title' 'foo'
#[doc(primitive = "u8")]
/// `u8` docs
mod u8 {}