diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-29 15:15:53 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-29 15:15:53 +0200 |
| commit | ea97bdc908ce4651cf9167c52817f46a3b4e200e (patch) | |
| tree | 4cc37e7aeaf2f62559873c17a3d8163293cd19ca /src/test/rustdoc-gui/sidebar-source-code.goml | |
| parent | 27ff258826d560d3c57554153bc9dcfdb6712bc9 (diff) | |
| download | rust-ea97bdc908ce4651cf9167c52817f46a3b4e200e.tar.gz rust-ea97bdc908ce4651cf9167c52817f46a3b4e200e.zip | |
Update/add tests for source sidebar in mobile mode
Diffstat (limited to 'src/test/rustdoc-gui/sidebar-source-code.goml')
| -rw-r--r-- | src/test/rustdoc-gui/sidebar-source-code.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-gui/sidebar-source-code.goml b/src/test/rustdoc-gui/sidebar-source-code.goml index 724520bc399..86df478fa1d 100644 --- a/src/test/rustdoc-gui/sidebar-source-code.goml +++ b/src/test/rustdoc-gui/sidebar-source-code.goml @@ -18,8 +18,8 @@ assert: "nav.sidebar" // We now switch to mobile mode. size: (600, 600) -// We check that the sidebar has the expected width (0 and 1px for the border). -assert-css: ("nav.sidebar", {"width": "1px"}) +// We check that the sidebar has the expected width (0). +assert-css: ("nav.sidebar", {"width": "0px"}) // We expand the sidebar. click: "#sidebar-toggle" assert-css: (".source-sidebar-expanded nav.sidebar", {"width": "600px"}) |
