summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/sidebar-mobile.goml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rustdoc-gui/sidebar-mobile.goml (renamed from src/test/rustdoc-gui/sidebar-mobile.goml)14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/rustdoc-gui/sidebar-mobile.goml b/tests/rustdoc-gui/sidebar-mobile.goml
index 38d01f7f6..d5f4b6196 100644
--- a/src/test/rustdoc-gui/sidebar-mobile.goml
+++ b/tests/rustdoc-gui/sidebar-mobile.goml
@@ -58,17 +58,17 @@ show-text: true
define-function: (
"check-colors",
(theme, color, background),
- [
- ("local-storage", {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}),
- ("reload"),
+ block {
+ local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}
+ reload:
// Open the sidebar menu.
- ("click", ".sidebar-menu-toggle"),
- ("assert-css", (".sidebar", {
+ click: ".sidebar-menu-toggle"
+ assert-css: (".sidebar", {
"background-color": |background|,
"color": |color|,
- })),
- ],
+ })
+ },
)
call-function: ("check-colors", {