Skip to content

Commit ca3d0e2

Browse files
committed
update tests
1 parent f00b02b commit ca3d0e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/rustdoc-gui/sidebar.goml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ assert-text: (".sidebar > .location", "Crate test_docs")
99
// In modules, we only have one "location" element.
1010
assert-count: (".sidebar .location", 1)
1111
assert-text: ("#all-types", "All Items")
12-
assert-css: ("#all-types", {"color": "rgb(56, 115, 173)"})
12+
assert-css: ("#all-types", {"color": "rgb(53, 109, 164)"})
1313
// We check that we have the crates list and that the "current" on is "test_docs".
1414
assert-text: (".sidebar-elems .crate > ul > li > a.current", "test_docs")
1515
// And we're also supposed to have the list of items in the current module.
@@ -38,7 +38,7 @@ assert-property: ("html", {"scrollTop": "0"})
3838

3939
// We now go back to the crate page to click on the "lib2" crate link.
4040
goto: file://|DOC_PATH|/test_docs/index.html
41-
assert-css: (".sidebar-elems .crate > ul > li:first-child > a", {"color": "rgb(56, 115, 173)"})
41+
assert-css: (".sidebar-elems .crate > ul > li:first-child > a", {"color": "rgb(53, 109, 164)"})
4242
click: ".sidebar-elems .crate > ul > li:first-child > a"
4343

4444
// PAGE: lib2/index.html

0 commit comments

Comments
 (0)