Skip to content

Commit

Permalink
rustdoc: fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle authored Nov 20, 2022
1 parent aa5a0c0 commit a3ae6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rustdoc-gui/sidebar-source-code.goml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ assert: "//*[@class='dir-entry' and @open]/*[text()='sub_mod']"
// Only "another_folder" should be "open" in "lib2".
assert: "//*[@class='dir-entry' and not(@open)]/*[text()='another_mod']"
// All other trees should be collapsed.
assert-count: ("//*[@id='source-sidebar']/details[not(text()='lib2') and not(@open)]", 6)
assert-count: ("//*[@id='source-sidebar']/details[not(text()='lib2') and not(@open)]", 7)

// We now switch to mobile mode.
size: (600, 600)
Expand Down

0 comments on commit a3ae6fe

Please sign in to comment.