Skip to content

Commit 84db684

Browse files
Update source-code-page-code-scroll.goml GUI test
1 parent e4d701b commit 84db684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rustdoc-gui/source-code-page-code-scroll.goml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
33
set-window-size: (800, 1000)
44
// "scrollWidth" should be superior than "clientWidth".
5-
assert-property: ("body", {"scrollWidth": 1047, "clientWidth": 800})
5+
assert-property: ("body", {"scrollWidth": 1114, "clientWidth": 800})
66

77
// Both properties should be equal (ie, no scroll on the code block).
8-
assert-property: (".example-wrap .rust", {"scrollWidth": 933, "clientWidth": 933})
8+
assert-property: (".example-wrap .rust", {"scrollWidth": 1000, "clientWidth": 1000})

0 commit comments

Comments
 (0)