We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 706aa31 commit a06829cCopy full SHA for a06829c
src/test/rustdoc-gui/search-result-keyword.goml
@@ -5,7 +5,6 @@ wait-for: "#titles"
5
// Note: The two next assert commands could be merged as one but readability would be
6
// less good.
7
//
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"})
+// Checking that the CSS is displaying " (keyword)" in italic.
+assert: (".result-name span.keyword > i", "(keyword)")
+assert: (".result-name span.keyword", "CookieMonster (keyword)")
0 commit comments