about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-03 21:47:32 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-31 10:30:16 +0200
commit5a87482eff210669afaf2362e384d9285668cce1 (patch)
treeac8f036c6ff846d3e0870551a76d28c1590d0324 /src/test/rustdoc
parente9b1283bdf17236bea7b81f007db373cca9fea67 (diff)
downloadrust-5a87482eff210669afaf2362e384d9285668cce1.tar.gz
rust-5a87482eff210669afaf2362e384d9285668cce1.zip
Update rustdoc test
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/keyword.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/rustdoc/keyword.rs b/src/test/rustdoc/keyword.rs
index 25e8b7912e7..652517c5c90 100644
--- a/src/test/rustdoc/keyword.rs
+++ b/src/test/rustdoc/keyword.rs
@@ -4,7 +4,8 @@
 
 // @has foo/index.html '//h2[@id="keywords"]' 'Keywords'
 // @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
-// @has foo/index.html '//div[@class="block items"]//a/@href' '#keywords'
+// @has foo/index.html '//div[@class="sidebar-elems"]//li/a' 'Keywords'
+// @has foo/index.html '//div[@class="sidebar-elems"]//li/a/@href' '#keywords'
 // @has foo/keyword.match.html '//a[@class="keyword"]' 'match'
 // @has foo/keyword.match.html '//span[@class="in-band"]' 'Keyword match'
 // @has foo/keyword.match.html '//section[@id="main"]//div[@class="docblock"]//p' 'this is a test!'