Skip to content

Commit 245b12e

Browse files
authored
Rollup merge of #103152 - GuillaumeGomez:named-arguments, r=notriddle
Use named arguments to make GUI test more clear As you suggested `@notriddle.` The result looks like this. r? `@notriddle`
2 parents 9c2797d + 885d690 commit 245b12e

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.5
1+
0.12.6

src/test/rustdoc-gui/anchors.goml

+27-27
Original file line numberDiff line numberDiff line change
@@ -71,37 +71,37 @@ define-function: (
7171

7272
call-function: (
7373
"check-colors",
74-
(
75-
"ayu", // theme
76-
"rgb(197, 197, 197)", // main color
77-
"rgb(255, 255, 255)", // title color
78-
"rgb(255, 255, 255)", // fqn color
79-
"rgb(255, 160, 165)", // fqn type color
80-
"rgb(57, 175, 215)", // src link
81-
"rgb(83, 177, 219)", // sidebar link
82-
),
74+
{
75+
"theme": "ayu",
76+
"main_color": "rgb(197, 197, 197)",
77+
"title_color": "rgb(255, 255, 255)",
78+
"fqn_color": "rgb(255, 255, 255)",
79+
"fqn_type_color": "rgb(255, 160, 165)",
80+
"src_link_color": "rgb(57, 175, 215)",
81+
"sidebar_link_color": "rgb(83, 177, 219)",
82+
},
8383
)
8484
call-function: (
8585
"check-colors",
86-
(
87-
"dark", // theme
88-
"rgb(221, 221, 221)", // main color
89-
"rgb(221, 221, 221)", // title color
90-
"rgb(221, 221, 221)", // fqn color
91-
"rgb(45, 191, 184)", // fqn type color
92-
"rgb(210, 153, 29)", // src link
93-
"rgb(253, 191, 53)", // sidebar link
94-
),
86+
{
87+
"theme": "dark",
88+
"main_color": "rgb(221, 221, 221)",
89+
"title_color": "rgb(221, 221, 221)",
90+
"fqn_color": "rgb(221, 221, 221)",
91+
"fqn_type_color": "rgb(45, 191, 184)",
92+
"src_link_color": "rgb(210, 153, 29)",
93+
"sidebar_link_color": "rgb(253, 191, 53)",
94+
},
9595
)
9696
call-function: (
9797
"check-colors",
98-
(
99-
"light", // theme
100-
"rgb(0, 0, 0)", // main color
101-
"rgb(0, 0, 0)", // title color
102-
"rgb(0, 0, 0)", // fqn color
103-
"rgb(173, 55, 138)", // fqn type color
104-
"rgb(56, 115, 173)", // src link
105-
"rgb(53, 109, 164)", // sidebar link
106-
),
98+
{
99+
"theme": "light",
100+
"main_color": "rgb(0, 0, 0)",
101+
"title_color": "rgb(0, 0, 0)",
102+
"fqn_color": "rgb(0, 0, 0)",
103+
"fqn_type_color": "rgb(173, 55, 138)",
104+
"src_link_color": "rgb(56, 115, 173)",
105+
"sidebar_link_color": "rgb(53, 109, 164)",
106+
},
107107
)

0 commit comments

Comments
 (0)