about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorPhilip Munksgaard <pmunksgaard@gmail.com>2018-10-05 23:28:08 +0200
committerPhilip Munksgaard <pmunksgaard@gmail.com>2018-10-05 23:28:08 +0200
commit28596ade7169abd483410b22a4bd8703c4ccc8f7 (patch)
tree1cf7146415532d33382ece6ad024e53bad82b964 /src/test/rustdoc
parenta9a26de8b3b8a0acda3b7716f6e9b4b1bfb799dd (diff)
downloadrust-28596ade7169abd483410b22a4bd8703c4ccc8f7.tar.gz
rust-28596ade7169abd483410b22a4bd8703c4ccc8f7.zip
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.
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/empty-section.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/empty-section.rs b/src/test/rustdoc/empty-section.rs
index 3748313593f..11a027a13f7 100644
--- a/src/test/rustdoc/empty-section.rs
+++ b/src/test/rustdoc/empty-section.rs
@@ -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 {}