Skip to content

Commit 0698ffb

Browse files
committed
rustdoc: update test cases
Width changed by 2/4 pixels by b273c75
1 parent b273c75 commit 0698ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/rustdoc-gui/search-result-display.goml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ press-key: 'Enter'
77
wait-for: "#crate-search"
88
// The width is returned by "getComputedStyle" which returns the exact number instead of the
99
// CSS rule which is "50%"...
10-
assert-css: (".search-results div.desc", {"width": "295px"})
10+
assert-css: (".search-results div.desc", {"width": "293px"})
1111
size: (600, 100)
1212
// As counter-intuitive as it may seem, in this width, the width is "100%", which is why
1313
// when computed it's larger.
14-
assert-css: (".search-results div.desc", {"width": "570px"})
14+
assert-css: (".search-results div.desc", {"width": "566px"})
1515

1616
// Check that the crate filter `<select>` is correctly handled when it goes to next line.
1717
// To do so we need to update the length of one of its `<option>`.

0 commit comments

Comments
 (0)