1
Fork 0

Merge mod-title and item-title tests

This commit is contained in:
Smitty 2021-04-20 18:57:26 -04:00
parent 7cf4f4276f
commit a9ff7ac9c3
2 changed files with 1 additions and 12 deletions

View file

@ -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;

View file

@ -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() {}
}