Skip to content

Commit e0f8f87

Browse files
Strengthen tests
1 parent 8301081 commit e0f8f87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/rustdoc/generic-impl.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub struct Bar;
1717

1818
// @has foo/struct.Foo.html '//h3[@id="impl-ToString"]//code' 'impl<T> ToString for T'
1919
pub struct Foo;
20+
// @has foo/struct.Foo.html '//div[@class="sidebar-links"]/a[@href="#impl-ToString"]' 'ToString'
2021

2122
impl fmt::Display for Foo {
2223
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {

0 commit comments

Comments
 (0)