Skip to content

Commit 9b97ae1

Browse files
committed
rustdoc: Update GUI test
1 parent 5f433f3 commit 9b97ae1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/rustdoc-gui/search-result-display.goml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ set-window-size: (600, 100)
1414
assert-size: (".search-results div.desc", {"width": 566})
1515

1616
// The result set is all on one line.
17-
assert-css: (".search-results .result-name > span", {"display": "inline"})
17+
assert-css: (".search-results .result-name > span:not(.typename)", {"display": "inline"})
18+
assert-css: (".search-results .result-name > span.typename", {"display": "inline-block"})
1819

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

0 commit comments

Comments
 (0)