diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-02-07 17:50:14 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-02-11 14:29:58 +0100 |
| commit | 673fd23dff47bf72953d1408b1cfbd45f6ef859b (patch) | |
| tree | 80ea0b0cf1251caceb2e5ce91939771be1846b3b /tests/rustdoc-gui/source-code-page-code-scroll.goml | |
| parent | 0395fc2242c2b04f3a0a330e2e1f6eeaf5939777 (diff) | |
| download | rust-673fd23dff47bf72953d1408b1cfbd45f6ef859b.tar.gz rust-673fd23dff47bf72953d1408b1cfbd45f6ef859b.zip | |
Update rustdoc tests
Diffstat (limited to 'tests/rustdoc-gui/source-code-page-code-scroll.goml')
| -rw-r--r-- | tests/rustdoc-gui/source-code-page-code-scroll.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/source-code-page-code-scroll.goml b/tests/rustdoc-gui/source-code-page-code-scroll.goml index 60012db6c8c..c15a9ae7983 100644 --- a/tests/rustdoc-gui/source-code-page-code-scroll.goml +++ b/tests/rustdoc-gui/source-code-page-code-scroll.goml @@ -2,7 +2,7 @@ go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html" set-window-size: (800, 1000) // "scrollWidth" should be superior than "clientWidth". -assert-property: ("body", {"scrollWidth": 1776, "clientWidth": 800}) +assert-property: ("body", {"scrollWidth": 1780, "clientWidth": 800}) // Both properties should be equal (ie, no scroll on the code block). -assert-property: (".example-wrap .rust", {"scrollWidth": 1662, "clientWidth": 1662}) +assert-property: (".example-wrap .rust", {"scrollWidth": 1715, "clientWidth": 1715}) |
