]> git.lizzy.rs Git - rust.git/commitdiff
Strengthen tests
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 29 Jul 2018 14:47:31 +0000 (16:47 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 4 Aug 2018 09:02:00 +0000 (11:02 +0200)
src/test/rustdoc/generic-impl.rs

index e2665fd8f375b5bc136c3142a3927b209946d16d..46e02ed08e00a72e0ab2f26e8b2d1c2d9a576d04 100644 (file)
@@ -17,6 +17,7 @@
 
 // @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 {