about summary refs log tree commit diff
path: root/tests/rustdoc/stability.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-01-17 18:36:11 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-01-17 22:36:49 +0100
commit3c62ccdff5cf4dc27be4faff91a5874032ae861a (patch)
tree0501a8d5d61329705bfb10533f3b13a2270a2802 /tests/rustdoc/stability.rs
parent42f9c797768f63643fb1ddd29a7fdc33486f69de (diff)
downloadrust-3c62ccdff5cf4dc27be4faff91a5874032ae861a.tar.gz
rust-3c62ccdff5cf4dc27be4faff91a5874032ae861a.zip
Update rustdoc tests
Diffstat (limited to 'tests/rustdoc/stability.rs')
-rw-r--r--tests/rustdoc/stability.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/stability.rs b/tests/rustdoc/stability.rs
index 550eb0bc137..b74abb0e0ba 100644
--- a/tests/rustdoc/stability.rs
+++ b/tests/rustdoc/stability.rs
@@ -5,9 +5,9 @@
 #![stable(feature = "core", since = "1.6.0")]
 
 //@ has stability/index.html
-//@ has - '//ul[@class="item-table"]/li[1]//a' AaStable
-//@ has - '//ul[@class="item-table"]/li[2]//a' ZzStable
-//@ has - '//ul[@class="item-table"]/li[3]//a' Unstable
+//@ has - '//dl[@class="item-table"]/dt[1]//a' AaStable
+//@ has - '//dl[@class="item-table"]/dt[2]//a' ZzStable
+//@ has - '//dl[@class="item-table"]/dt[3]//a' Unstable
 
 #[stable(feature = "rust2", since = "2.2.2")]
 pub struct AaStable;