Skip to content

Commit a3ae6fe

Browse files
authored
rustdoc: fix test case
1 parent aa5a0c0 commit a3ae6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc-gui/sidebar-source-code.goml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ assert: "//*[@class='dir-entry' and @open]/*[text()='sub_mod']"
2828
// Only "another_folder" should be "open" in "lib2".
2929
assert: "//*[@class='dir-entry' and not(@open)]/*[text()='another_mod']"
3030
// All other trees should be collapsed.
31-
assert-count: ("//*[@id='source-sidebar']/details[not(text()='lib2') and not(@open)]", 6)
31+
assert-count: ("//*[@id='source-sidebar']/details[not(text()='lib2') and not(@open)]", 7)
3232

3333
// We now switch to mobile mode.
3434
size: (600, 600)

0 commit comments

Comments
 (0)