]> git.proxmox.com Git - rustc.git/blobdiff - tests/rustdoc-gui/unsafe-fn.goml
Update upstream source from tag 'upstream/1.70.0+dfsg1'
[rustc.git] / tests / rustdoc-gui / unsafe-fn.goml
index 9d2577178c08a3ace936fab335e0a0f10fac70e6..51007b653d97de353121a151703e3b683cfb34d9 100644 (file)
@@ -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|})