From e0f8f871f6bbec2008af5697b8975ffe12d4571d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 29 Jul 2018 16:47:31 +0200 Subject: [PATCH] Strengthen tests --- src/test/rustdoc/generic-impl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/rustdoc/generic-impl.rs b/src/test/rustdoc/generic-impl.rs index e2665fd8f37..46e02ed08e0 100644 --- a/src/test/rustdoc/generic-impl.rs +++ b/src/test/rustdoc/generic-impl.rs @@ -17,6 +17,7 @@ pub struct Bar; // @has foo/struct.Foo.html '//h3[@id="impl-ToString"]//code' 'impl 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 {