about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-05-22 17:34:48 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-05-22 17:34:48 +0200
commit194960bae9b3e4b1ca2a6825b42e7110fd204b87 (patch)
tree0baded66e66152fd550745a93d0d3e91437c984a
parent56b8b1c3537ab3311b350a407442bffe7f0ace26 (diff)
downloadrust-194960bae9b3e4b1ca2a6825b42e7110fd204b87.tar.gz
rust-194960bae9b3e4b1ca2a6825b42e7110fd204b87.zip
Migrate GUI colors test to original CSS color format
-rw-r--r--tests/rustdoc-gui/scrape-examples-color.goml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc-gui/scrape-examples-color.goml b/tests/rustdoc-gui/scrape-examples-color.goml
index 8ddb06fccfc..b6991b912b5 100644
--- a/tests/rustdoc-gui/scrape-examples-color.goml
+++ b/tests/rustdoc-gui/scrape-examples-color.goml
@@ -81,16 +81,16 @@ define-function: (
 
 call-function: ("check-background", {
     "theme": "ayu",
-    "background_color_start": "rgb(15, 20, 25)",
+    "background_color_start": "rgba(15, 20, 25, 1)",
     "background_color_end": "rgba(15, 20, 25, 0)",
 })
 call-function: ("check-background", {
     "theme": "dark",
-    "background_color_start": "rgb(53, 53, 53)",
+    "background_color_start": "rgba(53, 53, 53, 1)",
     "background_color_end": "rgba(53, 53, 53, 0)",
 })
 call-function: ("check-background", {
     "theme": "light",
-    "background_color_start": "rgb(255, 255, 255)",
+    "background_color_start": "rgba(255, 255, 255, 1)",
     "background_color_end": "rgba(255, 255, 255, 0)",
 })