Skip to content

Commit

Permalink
rustdoc: add test case for source sidebar spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Jul 2, 2022
1 parent b809794 commit e710ac1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/rustdoc-gui/source-code-page.goml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ assert-property: ("#source-sidebar details:first-of-type", {"open": "true"})
// And now we collapse it again.
click: "#source-sidebar details:first-of-type > summary"
assert-property: ("#source-sidebar details:first-of-type", {"open": "false"})

// Check the spacing.
assert-css: ("#source-sidebar > details.dir-entry", {"padding-left": "4px"})

0 comments on commit e710ac1

Please sign in to comment.