about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/rustdoc-gui/code-color.goml18
1 files changed, 15 insertions, 3 deletions
diff --git a/tests/rustdoc-gui/code-color.goml b/tests/rustdoc-gui/code-color.goml
index 833fa05db42..cfc997d6517 100644
--- a/tests/rustdoc-gui/code-color.goml
+++ b/tests/rustdoc-gui/code-color.goml
@@ -19,6 +19,18 @@ define-function: (
     },
 )
 
-call-function: ("check-colors", ("ayu", "rgb(230, 225, 207)", "rgb(255, 180, 84)"))
-call-function: ("check-colors", ("dark", "rgb(221, 221, 221)", "rgb(221, 221, 221)"))
-call-function: ("check-colors", ("light", "rgb(0, 0, 0)", "rgb(0, 0, 0)"))
+call-function: ("check-colors", {
+    "theme": "ayu",
+    "doc_code_color": "rgb(230, 225, 207)",
+    "doc_inline_code_color": "rgb(255, 180, 84)",
+})
+call-function: ("check-colors", {
+    "theme": "dark",
+    "doc_code_color": "rgb(221, 221, 221)",
+    "doc_inline_code_color": "rgb(221, 221, 221)",
+})
+call-function: ("check-colors", {
+    "theme": "light",
+    "doc_code_color": "rgb(0, 0, 0)",
+    "doc_inline_code_color": "rgb(0, 0, 0)",
+})