Skip to content

Commit

Permalink
Remove unneeded "background_color" parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Aug 26, 2023
1 parent e55ad9b commit a448468
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/rustdoc-gui/warning-block.goml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ define-function: (
"margin-bottom": "12px",
"color": |color|,
"border-left": "2px solid " + |border_color|,
"background-color": |background_color|,
"background-color": "transparent",
})
assert-css: ("#doc-warning-2", {
"margin-bottom": "0px",
"color": |color|,
"border-left": "2px solid " + |border_color|,
"background-color": |background_color|,
"background-color": "transparent",
})
},
)
Expand All @@ -29,17 +29,14 @@ call-function: ("check-warning", {
"theme": "ayu",
"color": "#c5c5c5",
"border_color": "#ff8e00",
"background_color": "transparent",
})
call-function: ("check-warning", {
"theme": "dark",
"color": "#ddd",
"border_color": "#ff8e00",
"background_color": "transparent",
})
call-function: ("check-warning", {
"theme": "light",
"color": "black",
"border_color": "#ff8e00",
"background_color": "transparent",
})

0 comments on commit a448468

Please sign in to comment.