Skip to content

Commit e9faeea

Browse files
Update test for source sidebar button change
1 parent 65930aa commit e9faeea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rustdoc-gui/sidebar-source-code-display.goml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ define-function: (
4747
// Without hover or focus.
4848
assert-css: ("#src-sidebar-toggle > button", {"background-color": |background_toggle|})
4949
// With focus.
50-
focus: "#src-sidebar-toggle > button"
50+
focus: "#src-sidebar-toggle > button.collapse"
5151
assert-css: (
5252
"#src-sidebar-toggle > button:focus",
5353
{"background-color": |background_toggle_hover|},
5454
)
5555
focus: ".search-input"
5656
// With hover.
57-
move-cursor-to: "#src-sidebar-toggle > button"
57+
move-cursor-to: "#src-sidebar-toggle > button.collapse"
5858
assert-css: (
5959
"#src-sidebar-toggle > button:hover",
6060
{"background-color": |background_toggle_hover|},

0 commit comments

Comments
 (0)