diff options
| author | Michael Howell <michael@notriddle.com> | 2022-11-19 18:21:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-19 18:21:46 -0700 |
| commit | a3ae6fec8970a09f2983bbc8db90719f11d438ca (patch) | |
| tree | c707510da645904a97279c601ebebf0b63bc839e | |
| parent | aa5a0c0d88eceb2bb55bdc7a39ffc6adc7a22881 (diff) | |
| download | rust-a3ae6fec8970a09f2983bbc8db90719f11d438ca.tar.gz rust-a3ae6fec8970a09f2983bbc8db90719f11d438ca.zip | |
rustdoc: fix test case
| -rw-r--r-- | src/test/rustdoc-gui/sidebar-source-code.goml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/sidebar-source-code.goml b/src/test/rustdoc-gui/sidebar-source-code.goml index e9a987d52bb..36e4d555b8e 100644 --- a/src/test/rustdoc-gui/sidebar-source-code.goml +++ b/src/test/rustdoc-gui/sidebar-source-code.goml @@ -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) |
