diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-03 19:46:40 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-03 20:10:14 -0700 |
| commit | 49111eced698e7df62756af364f799609cae3aa7 (patch) | |
| tree | a70cb99514ee63de94f588bb24fb467e2d56375c /src/test/rustdoc-gui/source-code-page.goml | |
| parent | ab10908e8c32c4350b07fc6892b9e5f7e9ffa881 (diff) | |
| download | rust-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.goml | 2 |
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"}) |
