about summary refs log tree commit diff
path: root/tests/rustdoc-gui/docblock-code-block-line-number.goml
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-04-11 19:11:34 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-04-11 19:14:35 +0200
commit010fa00b80474648268af58dd2edecbf454a9e55 (patch)
treedb84173af99d2449aff150f08aaaf468708a506c /tests/rustdoc-gui/docblock-code-block-line-number.goml
parent8aba3f3264b33b53f0d4573ff68bd17aee319e72 (diff)
downloadrust-010fa00b80474648268af58dd2edecbf454a9e55.tar.gz
rust-010fa00b80474648268af58dd2edecbf454a9e55.zip
Update rustdoc GUI tests to new browser-ui-test version
Diffstat (limited to 'tests/rustdoc-gui/docblock-code-block-line-number.goml')
-rw-r--r--tests/rustdoc-gui/docblock-code-block-line-number.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/docblock-code-block-line-number.goml b/tests/rustdoc-gui/docblock-code-block-line-number.goml
index 69bcf5339ef..4c36394a30c 100644
--- a/tests/rustdoc-gui/docblock-code-block-line-number.goml
+++ b/tests/rustdoc-gui/docblock-code-block-line-number.goml
@@ -1,5 +1,5 @@
 // Checks that the setting "line numbers" is working as expected.
-goto: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
+go-to: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
 
 // Otherwise, we can't check text color
 show-text: true
@@ -13,7 +13,7 @@ define-function: (
     (theme, color),
     block {
         // We now set the setting to show the line numbers on code examples.
-        local-storage: {
+        set-local-storage: {
             "rustdoc-theme": |theme|,
             "rustdoc-use-system-theme": "false",
             "rustdoc-line-numbers": "true"