Skip to content

Commit

Permalink
Add test for title of root page in item-title.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
syvb committed Apr 20, 2021
1 parent 05121a2 commit 3ddafb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/test/rustdoc/crate-title.rs

This file was deleted.

2 changes: 2 additions & 0 deletions src/test/rustdoc/item-title.rs → src/test/rustdoc/title.rs
Original file line number Diff line number Diff line change
@@ -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() {}
Expand Down

0 comments on commit 3ddafb2

Please sign in to comment.