about summary refs log tree commit diff
path: root/tests/rustdoc/lifetime-name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/lifetime-name.rs')
-rw-r--r--tests/rustdoc/lifetime-name.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/lifetime-name.rs b/tests/rustdoc/lifetime-name.rs
index 0fb66059109..15e09f5165a 100644
--- a/tests/rustdoc/lifetime-name.rs
+++ b/tests/rustdoc/lifetime-name.rs
@@ -1,5 +1,5 @@
 #![crate_name = "foo"]
 
 // @has 'foo/type.Resolutions.html'
-// @has - '//div[@class="item-decl"]/pre[@class="rust"]' "pub type Resolutions<'tcx> = &'tcx u8;"
+// @has - '//pre[@class="rust item-decl"]' "pub type Resolutions<'tcx> = &'tcx u8;"
 pub type Resolutions<'tcx> = &'tcx u8;