Skip to content

Commit c3cdf85

Browse files
committed
tests: add test for color of item kind
1 parent 1a94b06 commit c3cdf85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ define-function: (
2828
".result-" + |result_kind| + ":focus ." + |result_kind|,
2929
{"color": |hover_color|},
3030
)
31+
// color of the typename (struct, module, method, ...) before search results
32+
assert-css: (
33+
".result-name .typename",
34+
{"color": "#888"},
35+
ALL,
36+
)
3137
},
3238
)
3339

0 commit comments

Comments
 (0)