Merge mod-title and item-title tests
This commit is contained in:
parent
7cf4f4276f
commit
a9ff7ac9c3
2 changed files with 1 additions and 12 deletions
|
@ -11,6 +11,7 @@ pub struct Widget;
|
|||
// @has foo/constant.ANSWER.html '//head/title' 'ANSWER in foo - Rust'
|
||||
pub const ANSWER: u8 = 42;
|
||||
|
||||
// @has foo/blah/index.html '//head/title' 'foo::blah - Rust'
|
||||
pub mod blah {
|
||||
// @has foo/blah/struct.Widget.html '//head/title' 'Widget in foo::blah - Rust'
|
||||
pub struct Widget;
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#![crate_name = "foo"]
|
||||
|
||||
// @has foo/bar/index.html '//head/title' 'foo::bar - Rust'
|
||||
/// blah
|
||||
pub mod bar {
|
||||
pub fn a() {}
|
||||
}
|
||||
|
||||
// @has foo/baz/index.html '//head/title' 'foo::baz - Rust'
|
||||
pub mod baz {
|
||||
pub fn a() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue