about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-21 16:44:33 -0700
committerMichael Howell <michael@notriddle.com>2022-09-21 16:44:33 -0700
commit8b4c0d90dc403cb9727e80d73c27d4f3de574d60 (patch)
tree890171da68e5ef32c52eee71561ec98e713be61a /src
parentf66769fe8d71d9d5d15f845e6ef918f2e417598f (diff)
downloadrust-8b4c0d90dc403cb9727e80d73c27d4f3de574d60.tar.gz
rust-8b4c0d90dc403cb9727e80d73c27d4f3de574d60.zip
rustdoc: adjust test to cope with slightly different scrolling behaviour
Diffstat (limited to 'src')
-rw-r--r--src/test/rustdoc-gui/source-anchor-scroll.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/source-anchor-scroll.goml b/src/test/rustdoc-gui/source-anchor-scroll.goml
index 4e51c8dcac0..47e40aa8e3b 100644
--- a/src/test/rustdoc-gui/source-anchor-scroll.goml
+++ b/src/test/rustdoc-gui/source-anchor-scroll.goml
@@ -10,7 +10,7 @@ assert-property: ("html", {"scrollTop": "0"})
 click: '//a[text() = "barbar"]'
 assert-property: ("html", {"scrollTop": "125"})
 click: '//a[text() = "bar"]'
-assert-property: ("html", {"scrollTop": "166"})
+assert-property: ("html", {"scrollTop": "156"})
 click: '//a[text() = "sub_fn"]'
 assert-property: ("html", {"scrollTop": "53"})