Skip to content

Commit

Permalink
Just merge all of the <title> tests into one
Browse files Browse the repository at this point in the history
  • Loading branch information
syvb committed Apr 20, 2021
1 parent 3ddafb2 commit df147c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/test/rustdoc/prim-title.rs

This file was deleted.

8 changes: 8 additions & 0 deletions src/test/rustdoc/title.rs → src/test/rustdoc/tab_title.rs
@@ -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'
Expand Down Expand Up @@ -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 {}

0 comments on commit df147c7

Please sign in to comment.