Skip to content

Commit

Permalink
Fix empty-section.rs test
Browse files Browse the repository at this point in the history
The Auto Trait Implementation section is not wrapped in a
`synthetic-implementations` class. In fact, it is wrapped in a
`synthetic-implementations` id. However, we can generalize and completely remove
the `synthetic-implementations` requirement. We just have to verify that there's
no mention of "Auto Trait Implementations" anywhere.
  • Loading branch information
Munksgaard committed Oct 5, 2018
1 parent a9a26de commit 28596ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rustdoc/empty-section.rs
Expand Up @@ -15,6 +15,6 @@
pub struct Foo;

// @has foo/struct.Foo.html
// @!has - '//*[@class="synthetic-implementations"]' 'Auto Trait Implementations'
// @!has - 'Auto Trait Implementations'
impl !Send for Foo {}
impl !Sync for Foo {}

0 comments on commit 28596ad

Please sign in to comment.