about summary refs log tree commit diff
path: root/src/test/rustdoc/recursive-deref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/recursive-deref.rs')
-rw-r--r--src/test/rustdoc/recursive-deref.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/recursive-deref.rs b/src/test/rustdoc/recursive-deref.rs
index 91db01177c5..3d17bce4721 100644
--- a/src/test/rustdoc/recursive-deref.rs
+++ b/src/test/rustdoc/recursive-deref.rs
@@ -3,7 +3,7 @@ use std::ops::Deref;
 pub struct A;
 pub struct B;
 
-// @has recursive_deref/struct.A.html '//code' 'impl Deref for A'
+// @has recursive_deref/struct.A.html '//h3[@class="code-header in-band"]' 'impl Deref for A'
 impl Deref for A {
     type Target = B;
 
@@ -12,7 +12,7 @@ impl Deref for A {
     }
 }
 
-// @has recursive_deref/struct.B.html '//code' 'impl Deref for B'
+// @has recursive_deref/struct.B.html '//h3[@class="code-header in-band"]' 'impl Deref for B'
 impl Deref for B {
     type Target = A;