From a3eab0ba67ee9b5c6d529ba9c50752b9f2b8a159 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 17 Oct 2022 18:08:40 +0200 Subject: [PATCH 1/2] Update browser-ui-test version to 0.12.6 --- .../docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version b/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version index 679934348d0..0ec9201397f 100644 --- a/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version +++ b/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version @@ -1 +1 @@ -0.12.5 \ No newline at end of file +0.12.6 \ No newline at end of file From 885d69093f34b0449cc25d18630293d26c4b89e1 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 17 Oct 2022 18:08:53 +0200 Subject: [PATCH 2/2] Use named arguments to make test clearer --- src/test/rustdoc-gui/anchors.goml | 54 +++++++++++++++---------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/test/rustdoc-gui/anchors.goml b/src/test/rustdoc-gui/anchors.goml index e526fa47d15..fb8e288fae8 100644 --- a/src/test/rustdoc-gui/anchors.goml +++ b/src/test/rustdoc-gui/anchors.goml @@ -71,37 +71,37 @@ define-function: ( call-function: ( "check-colors", - ( - "ayu", // theme - "rgb(197, 197, 197)", // main color - "rgb(255, 255, 255)", // title color - "rgb(255, 255, 255)", // fqn color - "rgb(255, 160, 165)", // fqn type color - "rgb(57, 175, 215)", // src link - "rgb(83, 177, 219)", // sidebar link - ), + { + "theme": "ayu", + "main_color": "rgb(197, 197, 197)", + "title_color": "rgb(255, 255, 255)", + "fqn_color": "rgb(255, 255, 255)", + "fqn_type_color": "rgb(255, 160, 165)", + "src_link_color": "rgb(57, 175, 215)", + "sidebar_link_color": "rgb(83, 177, 219)", + }, ) call-function: ( "check-colors", - ( - "dark", // theme - "rgb(221, 221, 221)", // main color - "rgb(221, 221, 221)", // title color - "rgb(221, 221, 221)", // fqn color - "rgb(45, 191, 184)", // fqn type color - "rgb(210, 153, 29)", // src link - "rgb(253, 191, 53)", // sidebar link - ), + { + "theme": "dark", + "main_color": "rgb(221, 221, 221)", + "title_color": "rgb(221, 221, 221)", + "fqn_color": "rgb(221, 221, 221)", + "fqn_type_color": "rgb(45, 191, 184)", + "src_link_color": "rgb(210, 153, 29)", + "sidebar_link_color": "rgb(253, 191, 53)", + }, ) call-function: ( "check-colors", - ( - "light", // theme - "rgb(0, 0, 0)", // main color - "rgb(0, 0, 0)", // title color - "rgb(0, 0, 0)", // fqn color - "rgb(173, 55, 138)", // fqn type color - "rgb(56, 115, 173)", // src link - "rgb(53, 109, 164)", // sidebar link - ), + { + "theme": "light", + "main_color": "rgb(0, 0, 0)", + "title_color": "rgb(0, 0, 0)", + "fqn_color": "rgb(0, 0, 0)", + "fqn_type_color": "rgb(173, 55, 138)", + "src_link_color": "rgb(56, 115, 173)", + "sidebar_link_color": "rgb(53, 109, 164)", + }, )