about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/source-code-page.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-03 19:46:40 -0700
committerMichael Howell <michael@notriddle.com>2023-01-03 20:10:14 -0700
commit49111eced698e7df62756af364f799609cae3aa7 (patch)
treea70cb99514ee63de94f588bb24fb467e2d56375c /src/test/rustdoc-gui/source-code-page.goml
parentab10908e8c32c4350b07fc6892b9e5f7e9ffa881 (diff)
downloadrust-49111eced698e7df62756af364f799609cae3aa7.tar.gz
rust-49111eced698e7df62756af364f799609cae3aa7.zip
rustdoc: fix buggy JS check for absolute URL
The old code did the wrong thing when faced with a crate named "http".
Diffstat (limited to 'src/test/rustdoc-gui/source-code-page.goml')
-rw-r--r--src/test/rustdoc-gui/source-code-page.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml
index aa792196960..e0397890519 100644
--- a/src/test/rustdoc-gui/source-code-page.goml
+++ b/src/test/rustdoc-gui/source-code-page.goml
@@ -102,7 +102,7 @@ assert: ".source-sidebar-expanded"
 
 // We check that the first entry of the sidebar is collapsed
 assert-property: ("#source-sidebar details:first-of-type", {"open": "false"})
-assert-text: ("#source-sidebar details:first-of-type > summary", "huge_logo")
+assert-text: ("#source-sidebar details:first-of-type > summary", "http")
 // We now click on it.
 click: "#source-sidebar details:first-of-type > summary"
 assert-property: ("#source-sidebar details:first-of-type", {"open": "true"})