summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/stab-badge.goml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/rustdoc-gui/stab-badge.goml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc-gui/stab-badge.goml b/tests/rustdoc-gui/stab-badge.goml
index 50ba1ba62..e23404188 100644
--- a/tests/rustdoc-gui/stab-badge.goml
+++ b/tests/rustdoc-gui/stab-badge.goml
@@ -1,12 +1,12 @@
// All stability badges should have rounded corners and colored backgrounds.
-goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
+go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
show-text: true
define-function: (
"check-badge",
(theme, background, color),
block {
- local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}
- goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
+ set-local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}
+ go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
assert: ".docblock .stab"
assert: ".item-table .stab"
assert-css: (".stab", {
@@ -14,7 +14,7 @@ define-function: (
"color": |color|,
"background-color": |background|,
})
- goto: "file://" + |DOC_PATH| + "/test_docs/fn.replaced_function.html"
+ go-to: "file://" + |DOC_PATH| + "/test_docs/fn.replaced_function.html"
assert: (".item-info .stab")
assert-css: (".stab", {
"border-radius": "3px",