Fix empty-section.rs test

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.
This commit is contained in:
Philip Munksgaard 2018-10-05 23:28:08 +02:00
parent a9a26de8b3
commit 28596ade71

View File

@ -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 {}