diff options
| author | Michael Howell <michael@notriddle.com> | 2022-07-02 09:42:49 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-07-02 09:42:49 -0700 |
| commit | e710ac12fac9d650fb53b27259332cabdc9416f5 (patch) | |
| tree | 59aeb5e5bc89ec02369d023d5ed19571c1059c38 /src/test/rustdoc-gui/source-code-page.goml | |
| parent | b80979416d3eb7aa55c3f01b107f17f0363bf92e (diff) | |
| download | rust-e710ac12fac9d650fb53b27259332cabdc9416f5.tar.gz rust-e710ac12fac9d650fb53b27259332cabdc9416f5.zip | |
rustdoc: add test case for source sidebar spacing
Diffstat (limited to 'src/test/rustdoc-gui/source-code-page.goml')
| -rw-r--r-- | src/test/rustdoc-gui/source-code-page.goml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml index 05b0e809bca..581f826a3d9 100644 --- a/src/test/rustdoc-gui/source-code-page.goml +++ b/src/test/rustdoc-gui/source-code-page.goml @@ -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"}) |
