Skip to content

Commit df147c7

Browse files
committed
Just merge all of the <title> tests into one
1 parent 3ddafb2 commit df147c7

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/test/rustdoc/prim-title.rs

-7
This file was deleted.

src/test/rustdoc/title.rs renamed to src/test/rustdoc/tab_title.rs

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#![crate_name = "foo"]
22
#![feature(doc_keyword)]
33

4+
// tests for the html <title> element
5+
46
// @has foo/index.html '//head/title' 'foo - Rust'
57

68
// @has foo/fn.widget_count.html '//head/title' 'widget_count in foo - Rust'
@@ -34,3 +36,9 @@ pub mod blah {
3436
// @has foo/keyword.continue.html '//head/title' 'continue - Rust'
3537
#[doc(keyword = "continue")]
3638
mod continue_keyword {}
39+
40+
// @has foo/primitive.u8.html '//head/title' 'u8 - Rust'
41+
// @!has - '//head/title' 'foo'
42+
#[doc(primitive = "u8")]
43+
/// `u8` docs
44+
mod u8 {}

0 commit comments

Comments
 (0)