Skip to content

Commit 8b4c0d9

Browse files
committed
rustdoc: adjust test to cope with slightly different scrolling behaviour
1 parent f66769f commit 8b4c0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc-gui/source-anchor-scroll.goml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assert-property: ("html", {"scrollTop": "0"})
1010
click: '//a[text() = "barbar"]'
1111
assert-property: ("html", {"scrollTop": "125"})
1212
click: '//a[text() = "bar"]'
13-
assert-property: ("html", {"scrollTop": "166"})
13+
assert-property: ("html", {"scrollTop": "156"})
1414
click: '//a[text() = "sub_fn"]'
1515
assert-property: ("html", {"scrollTop": "53"})
1616

0 commit comments

Comments
 (0)