]> git.proxmox.com Git - rustc.git/blobdiff - tests/rustdoc-gui/jump-to-def-background.goml
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / rustdoc-gui / jump-to-def-background.goml
index 8ee3ccf4a211897251aceeee96807847dc257bb3..3a7d48284d7c84327fcc8cbe0496a0d214e358ba 100644 (file)
@@ -1,12 +1,12 @@
 // We check the background color on the jump to definition links in the source code page.
-goto: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html"
+go-to: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html"
 
 define-function: (
     "check-background-color",
     (theme, background_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: (