summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/unsafe-fn.goml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/unsafe-fn.goml')
-rw-r--r--tests/rustdoc-gui/unsafe-fn.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/unsafe-fn.goml b/tests/rustdoc-gui/unsafe-fn.goml
index 9d2577178..51007b653 100644
--- a/tests/rustdoc-gui/unsafe-fn.goml
+++ b/tests/rustdoc-gui/unsafe-fn.goml
@@ -1,5 +1,5 @@
// Check position and color of the `<sup>` for unsafe elements.
-goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
+go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
// If the text isn't displayed, the browser doesn't compute color style correctly...
show-text: true
@@ -16,7 +16,7 @@ define-function: (
(theme, color),
block {
// Set the theme.
- local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
+ set-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-name sup", {"color": |color|})