summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/code-color.goml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/code-color.goml')
-rw-r--r--tests/rustdoc-gui/code-color.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/code-color.goml b/tests/rustdoc-gui/code-color.goml
index cb550a457..833fa05db 100644
--- a/tests/rustdoc-gui/code-color.goml
+++ b/tests/rustdoc-gui/code-color.goml
@@ -2,7 +2,7 @@
// check that the rule isn't applied on other "<code>" elements.
//
// While we're at it, we also check it for the other themes.
-goto: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
+go-to: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
// If the text isn't displayed, the browser doesn't compute color style correctly...
show-text: true
@@ -11,7 +11,7 @@ define-function: (
(theme, doc_code_color, doc_inline_code_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: (".docblock pre > code", {"color": |doc_code_color|}, ALL)