diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-09 11:48:43 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-09 11:48:43 -0700 |
| commit | 0698ffbdb590d76cdeec0a1f06331fe82ff9aada (patch) | |
| tree | 09e1f86bbf52e6482864721b038dfc4583d23fc2 /src/test | |
| parent | b273c7502e363baeec293b972f671070e80f1391 (diff) | |
| download | rust-0698ffbdb590d76cdeec0a1f06331fe82ff9aada.tar.gz rust-0698ffbdb590d76cdeec0a1f06331fe82ff9aada.zip | |
rustdoc: update test cases
Width changed by 2/4 pixels by b273c7502e363baeec293b972f671070e80f1391
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc-gui/search-result-display.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-gui/search-result-display.goml b/src/test/rustdoc-gui/search-result-display.goml index db4907924fa..54482005fa6 100644 --- a/src/test/rustdoc-gui/search-result-display.goml +++ b/src/test/rustdoc-gui/search-result-display.goml @@ -7,11 +7,11 @@ press-key: 'Enter' wait-for: "#crate-search" // The width is returned by "getComputedStyle" which returns the exact number instead of the // CSS rule which is "50%"... -assert-css: (".search-results div.desc", {"width": "295px"}) +assert-css: (".search-results div.desc", {"width": "293px"}) size: (600, 100) // As counter-intuitive as it may seem, in this width, the width is "100%", which is why // when computed it's larger. -assert-css: (".search-results div.desc", {"width": "570px"}) +assert-css: (".search-results div.desc", {"width": "566px"}) // Check that the crate filter `<select>` is correctly handled when it goes to next line. // To do so we need to update the length of one of its `<option>`. |
