about summary refs log tree commit diff
path: root/tests/rustdoc-gui/toggle-click-deadspace.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-10 11:35:37 -0700
committerMichael Howell <michael@notriddle.com>2023-01-13 12:38:03 -0700
commit1d328de3ec00bc5d204306da20cc166e5ae8857d (patch)
tree3c517108a2e3948d6e5b72bf6b9d2422b177813e /tests/rustdoc-gui/toggle-click-deadspace.goml
parent0b90256ada21c6a81b4c18f2c7a23151ab5fc232 (diff)
downloadrust-1d328de3ec00bc5d204306da20cc166e5ae8857d.tar.gz
rust-1d328de3ec00bc5d204306da20cc166e5ae8857d.zip
rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle
This swaps things around so that the class that gets used more often has
the shorter name.
Diffstat (limited to 'tests/rustdoc-gui/toggle-click-deadspace.goml')
-rw-r--r--tests/rustdoc-gui/toggle-click-deadspace.goml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc-gui/toggle-click-deadspace.goml b/tests/rustdoc-gui/toggle-click-deadspace.goml
index 029403ee13e..689e562f730 100644
--- a/tests/rustdoc-gui/toggle-click-deadspace.goml
+++ b/tests/rustdoc-gui/toggle-click-deadspace.goml
@@ -1,14 +1,14 @@
 // This test ensures that clicking on a method summary, but not on the "[-]",
 // doesn't toggle the <details>.
 goto: "file://" + |DOC_PATH| + "/lib2/struct.Foo.html"
-assert-attribute: (".impl-items .rustdoc-toggle", {"open": ""})
+assert-attribute: (".impl-items .toggle", {"open": ""})
 click: "h4.code-header" // This is the position of "pub" in "pub fn a_method"
-assert-attribute: (".impl-items .rustdoc-toggle", {"open": ""})
+assert-attribute: (".impl-items .toggle", {"open": ""})
 click-with-offset: (
-    ".impl-items .rustdoc-toggle summary",
+    ".impl-items .toggle summary",
     {"x": -24, "y": 8}, // This is the position of "[-]" next to that pub fn.
 )
-assert-attribute-false: (".impl-items .rustdoc-toggle", {"open": ""})
+assert-attribute-false: (".impl-items .toggle", {"open": ""})
 
 // Click the "Trait" part of "impl Trait" and verify it navigates.
 click: "#impl-Trait-for-Foo h3 a:first-of-type"