Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b32def5

Browse files
authored
Unrolled build for rust-lang#135535
Rollup merge of rust-lang#135535 - GuillaumeGomez:gui-test-135499, r=notriddle Add GUI test for rust-lang#135499 Fixes rust-lang#135510. cc `@lolbinarycat` r? `@notriddle`
2 parents 419b3e2 + 0128c91 commit b32def5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/rustdoc-gui/links-color.goml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
55
// This is needed so that the text color is computed.
66
show-text: true
77

8+
// First we check the links of the different items.
89
define-function: (
910
"check-colors",
1011
[theme, mod, macro, struct, enum, trait, fn, type, union, keyword,
@@ -36,6 +37,11 @@ define-function: (
3637
},
3738
ALL,
3839
)
40+
move-cursor-to: ".desc a[href='long_code_block_link/index.html']"
41+
assert-css: (
42+
".desc a[href='long_code_block_link/index.html']",
43+
{"text-decoration": "underline solid " + |mod|},
44+
)
3945
},
4046
)
4147

0 commit comments

Comments
 (0)