diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-09-03 12:46:56 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-09-03 12:46:56 +0200 |
| commit | 7e648f0d7209b6a985475a4cc4a1a02fce10bd86 (patch) | |
| tree | 461b2b87a4d5a05469be5d474a2b6a01c80d8510 | |
| parent | 7cc5ac267f536ee2cf2f38961d9db8304a419d5a (diff) | |
| download | rust-7e648f0d7209b6a985475a4cc4a1a02fce10bd86.tar.gz rust-7e648f0d7209b6a985475a4cc4a1a02fce10bd86.zip | |
Use named arguments in `code-color.goml` GUI test
| -rw-r--r-- | tests/rustdoc-gui/code-color.goml | 18 |
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)", +}) |
