rustdoc: add test case for source sidebar spacing
This commit is contained in:
parent
b80979416d
commit
e710ac12fa
1 changed files with 3 additions and 0 deletions
|
@ -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"})
|
||||
|
|
Loading…
Add table
Reference in a new issue