about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2023-06-24 14:30:35 -0700
committerNoah Lev <camelidcamel@gmail.com>2023-06-24 14:30:35 -0700
commit9b97ae1d8c6e99a4832c84dec4d4b6faf5f583f6 (patch)
tree438d931dee6d8c8626d2cec71dd1e343c169637f
parent5f433f33ed8d4a8ede25c36d2bb0543e8b101920 (diff)
downloadrust-9b97ae1d8c6e99a4832c84dec4d4b6faf5f583f6.tar.gz
rust-9b97ae1d8c6e99a4832c84dec4d4b6faf5f583f6.zip
rustdoc: Update GUI test
-rw-r--r--tests/rustdoc-gui/search-result-display.goml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/search-result-display.goml b/tests/rustdoc-gui/search-result-display.goml
index afb3a44be30..6593c1a9c45 100644
--- a/tests/rustdoc-gui/search-result-display.goml
+++ b/tests/rustdoc-gui/search-result-display.goml
@@ -14,7 +14,8 @@ set-window-size: (600, 100)
 assert-size: (".search-results div.desc", {"width": 566})
 
 // The result set is all on one line.
-assert-css: (".search-results .result-name > span", {"display": "inline"})
+assert-css: (".search-results .result-name > span:not(.typename)", {"display": "inline"})
+assert-css: (".search-results .result-name > span.typename", {"display": "inline-block"})
 
 // 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>`.