Skip to content

Commit a06829c

Browse files
Update keyword GUI test
1 parent 706aa31 commit a06829c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ wait-for: "#titles"
55
// Note: The two next assert commands could be merged as one but readability would be
66
// less good.
77
//
8-
// Checking that the CSS is displaying " (keyword)"...
9-
assert: (".result-name span.keyword::after", {"content": '" (keyword)"'})
10-
// ... in italic.
11-
assert: (".result-name span.keyword::after", {"font-style": "italic"})
8+
// Checking that the CSS is displaying " (keyword)" in italic.
9+
assert: (".result-name span.keyword > i", "(keyword)")
10+
assert: (".result-name span.keyword", "CookieMonster (keyword)")

0 commit comments

Comments
 (0)