summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/unsafe-fn.goml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rustdoc-gui/unsafe-fn.goml (renamed from src/test/rustdoc-gui/unsafe-fn.goml)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/rustdoc-gui/unsafe-fn.goml b/tests/rustdoc-gui/unsafe-fn.goml
index 5e43b85fc..d3a672ddd 100644
--- a/src/test/rustdoc-gui/unsafe-fn.goml
+++ b/tests/rustdoc-gui/unsafe-fn.goml
@@ -14,13 +14,13 @@ define-function: (
// `theme` is the theme being tested.
// `color` is the expected color of the `<sup>` element.
(theme, 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", (".item-left sup", {"color": |color|})),
- ],
+ reload:
+ assert-css: (".item-left sup", {"color": |color|})
+ },
)
call-function: ("sup-check", ("dark", "rgb(221, 221, 221)"))