Skip to content

Commit a448468

Browse files
Remove unneeded "background_color" parameter
1 parent e55ad9b commit a448468

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/rustdoc-gui/warning-block.goml

+2-5
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ define-function: (
1414
"margin-bottom": "12px",
1515
"color": |color|,
1616
"border-left": "2px solid " + |border_color|,
17-
"background-color": |background_color|,
17+
"background-color": "transparent",
1818
})
1919
assert-css: ("#doc-warning-2", {
2020
"margin-bottom": "0px",
2121
"color": |color|,
2222
"border-left": "2px solid " + |border_color|,
23-
"background-color": |background_color|,
23+
"background-color": "transparent",
2424
})
2525
},
2626
)
@@ -29,17 +29,14 @@ call-function: ("check-warning", {
2929
"theme": "ayu",
3030
"color": "#c5c5c5",
3131
"border_color": "#ff8e00",
32-
"background_color": "transparent",
3332
})
3433
call-function: ("check-warning", {
3534
"theme": "dark",
3635
"color": "#ddd",
3736
"border_color": "#ff8e00",
38-
"background_color": "transparent",
3937
})
4038
call-function: ("check-warning", {
4139
"theme": "light",
4240
"color": "black",
4341
"border_color": "#ff8e00",
44-
"background_color": "transparent",
4542
})

0 commit comments

Comments
 (0)