summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/jump-to-def-background.goml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rustdoc-gui/jump-to-def-background.goml (renamed from src/test/rustdoc-gui/jump-to-def-background.goml)12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/rustdoc-gui/jump-to-def-background.goml b/tests/rustdoc-gui/jump-to-def-background.goml
index b65faf13d..8ee3ccf4a 100644
--- a/src/test/rustdoc-gui/jump-to-def-background.goml
+++ b/tests/rustdoc-gui/jump-to-def-background.goml
@@ -4,17 +4,17 @@ goto: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html"
define-function: (
"check-background-color",
(theme, background_color),
- [
+ block {
// Set the theme.
- ("local-storage", { "rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false" }),
+ local-storage: { "rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false" }
// We reload the page so the local storage settings are being used.
- ("reload"),
- ("assert-css", (
+ reload:
+ assert-css: (
"body.source .example-wrap pre.rust a",
{"background-color": |background_color|},
ALL,
- )),
- ],
+ )
+ },
)
call-function: ("check-background-color", ("ayu", "rgb(51, 51, 51)"))