summaryrefslogtreecommitdiff
path: root/tests/rustdoc-gui/label-next-to-symbol.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-26 12:50:14 -0700
committerMichael Howell <michael@notriddle.com>2023-01-26 12:55:19 -0700
commit97f8189614a5a6c52382e735dda55400c97cd8af (patch)
tree4f98934b77d729bff838a1e191a8629130f1b7af /tests/rustdoc-gui/label-next-to-symbol.goml
parentc62665e09c11eb1c9d8ea02df5b723364a0b8ba4 (diff)
downloadrust-97f8189614a5a6c52382e735dda55400c97cd8af.tar.gz
rustdoc: remove mostly-unused CSS classes import/module-item
Diffstat (limited to 'tests/rustdoc-gui/label-next-to-symbol.goml')
-rw-r--r--tests/rustdoc-gui/label-next-to-symbol.goml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc-gui/label-next-to-symbol.goml b/tests/rustdoc-gui/label-next-to-symbol.goml
index 05f8ddc716e..3f4f65890b4 100644
--- a/tests/rustdoc-gui/label-next-to-symbol.goml
+++ b/tests/rustdoc-gui/label-next-to-symbol.goml
@@ -20,7 +20,7 @@ assert-css: (
// table like view
assert-css: (".item-right.docblock-short", { "padding-left": "0px" })
compare-elements-position-near: (
- "//*[@class='item-left module-item']//a[text()='replaced_function']",
+ "//*[@class='item-left']//a[text()='replaced_function']",
".item-left .stab.deprecated",
{"y": 2},
)
@@ -32,7 +32,7 @@ compare-elements-position: (
// Ensure no wrap
compare-elements-position: (
- "//*[@class='item-left module-item']//a[text()='replaced_function']/..",
+ "//*[@class='item-left']//a[text()='replaced_function']/..",
"//*[@class='item-right docblock-short'][text()='a thing with a label']",
("y"),
)
@@ -43,7 +43,7 @@ size: (600, 600)
// staggered layout with 2em spacing
assert-css: (".item-right.docblock-short", { "padding-left": "32px" })
compare-elements-position-near: (
- "//*[@class='item-left module-item']//a[text()='replaced_function']",
+ "//*[@class='item-left']//a[text()='replaced_function']",
".item-left .stab.deprecated",
{"y": 2},
)
@@ -55,7 +55,7 @@ compare-elements-position: (
// Ensure wrap
compare-elements-position-false: (
- "//*[@class='item-left module-item']//a[text()='replaced_function']/..",
+ "//*[@class='item-left']//a[text()='replaced_function']/..",
"//*[@class='item-right docblock-short'][text()='a thing with a label']",
("y"),
)