Strengthen tests

This commit is contained in:
Guillaume Gomez 2018-07-29 16:47:31 +02:00
parent 8301081c90
commit e0f8f871f6

View File

@ -17,6 +17,7 @@ pub struct Bar;
// @has foo/struct.Foo.html '//h3[@id="impl-ToString"]//code' 'impl<T> ToString for T'
pub struct Foo;
// @has foo/struct.Foo.html '//div[@class="sidebar-links"]/a[@href="#impl-ToString"]' 'ToString'
impl fmt::Display for Foo {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {