about summary refs log tree commit diff
path: root/tests/rustdoc-gui/sidebar-source-code-display.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-09-19 18:08:55 -0700
committerMichael Howell <michael@notriddle.com>2023-10-08 20:17:53 -0700
commit7c10c6f63d3b3567ea0e8ecb3b15652957ad0cc6 (patch)
tree68549c34a519c736cfd2ee30eb706f96ca2226ac /tests/rustdoc-gui/sidebar-source-code-display.goml
parentc6e6ecb1afea9695a42d0f148ce153536b279eb5 (diff)
downloadrust-7c10c6f63d3b3567ea0e8ecb3b15652957ad0cc6.tar.gz
rust-7c10c6f63d3b3567ea0e8ecb3b15652957ad0cc6.zip
rustdoc: fix rustdoc-gui tests for logo changes
Diffstat (limited to 'tests/rustdoc-gui/sidebar-source-code-display.goml')
-rw-r--r--tests/rustdoc-gui/sidebar-source-code-display.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/sidebar-source-code-display.goml b/tests/rustdoc-gui/sidebar-source-code-display.goml
index 88546ed2549..cea4db1466b 100644
--- a/tests/rustdoc-gui/sidebar-source-code-display.goml
+++ b/tests/rustdoc-gui/sidebar-source-code-display.goml
@@ -174,14 +174,14 @@ click: "#src-sidebar-toggle"
 wait-for-css: (".sidebar", {"left": "-1000px"})
 // We scroll to line 117 to change the scroll position.
 scroll-to: '//*[@id="117"]'
-assert-window-property: {"pageYOffset": "2542"}
+assert-window-property: {"pageYOffset": "2516"}
 // Expanding the sidebar...
 click: "#src-sidebar-toggle"
 wait-for-css: (".sidebar", {"left": "0px"})
 click: "#src-sidebar-toggle"
 wait-for-css: (".sidebar", {"left": "-1000px"})
 // The "scrollTop" property should be the same.
-assert-window-property: {"pageYOffset": "2542"}
+assert-window-property: {"pageYOffset": "2516"}
 
 // We now check that opening the sidebar and clicking a link will close it.
 // The behavior here on mobile is different than the behavior on desktop,