about summary refs log tree commit diff
path: root/tests/rustdoc-gui/source-code-page.goml
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-12 22:04:35 +0200
committerGitHub <noreply@github.com>2023-04-12 22:04:35 +0200
commitb01f0d392864fd581fd6cb4cd1648959bdfbfc5f (patch)
treea6a7b3822dfffd06078b32ff7b29b992eef825d5 /tests/rustdoc-gui/source-code-page.goml
parent57393be6fba9bc6f09aa4ba6587da9633edac675 (diff)
parentb76821b4de51fa79c4f593079679f63b7476f737 (diff)
Rollup merge of #110235 - GuillaumeGomez:fix-extend-css, r=notriddle
Fix `--extend-css` option

Fixes #110002.

The file was generated in the wrong folder so I moved it into `static.files` as it made more sense to have there instead of changing the path in the templates.

I also added a GUI test to ensure that this option won't break unexpectedly again.
Diffstat (limited to 'tests/rustdoc-gui/source-code-page.goml')
-rw-r--r--tests/rustdoc-gui/source-code-page.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/source-code-page.goml b/tests/rustdoc-gui/source-code-page.goml
index 1ac403308eb..42f3200e967 100644
--- a/tests/rustdoc-gui/source-code-page.goml
+++ b/tests/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", "http")
+assert-text: ("#source-sidebar details:first-of-type > summary", "extend_css")
 // We now click on it.
 click: "#source-sidebar details:first-of-type > summary"
 assert-property: ("#source-sidebar details:first-of-type", {"open": "true"})