Skip to content

Commit 7e648f0

Browse files
Use named arguments in code-color.goml GUI test
1 parent 7cc5ac2 commit 7e648f0

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

tests/rustdoc-gui/code-color.goml

+15-3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ define-function: (
1919
},
2020
)
2121

22-
call-function: ("check-colors", ("ayu", "rgb(230, 225, 207)", "rgb(255, 180, 84)"))
23-
call-function: ("check-colors", ("dark", "rgb(221, 221, 221)", "rgb(221, 221, 221)"))
24-
call-function: ("check-colors", ("light", "rgb(0, 0, 0)", "rgb(0, 0, 0)"))
22+
call-function: ("check-colors", {
23+
"theme": "ayu",
24+
"doc_code_color": "rgb(230, 225, 207)",
25+
"doc_inline_code_color": "rgb(255, 180, 84)",
26+
})
27+
call-function: ("check-colors", {
28+
"theme": "dark",
29+
"doc_code_color": "rgb(221, 221, 221)",
30+
"doc_inline_code_color": "rgb(221, 221, 221)",
31+
})
32+
call-function: ("check-colors", {
33+
"theme": "light",
34+
"doc_code_color": "rgb(0, 0, 0)",
35+
"doc_inline_code_color": "rgb(0, 0, 0)",
36+
})

0 commit comments

Comments
 (0)