about summary refs log tree commit diff
path: root/tests/rustdoc-gui/sidebar-source-code.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-09-14 13:24:23 -0700
committerMichael Howell <michael@notriddle.com>2023-09-14 13:24:23 -0700
commitcbccf800b85541187b3a8a17359c94c802e99748 (patch)
treea949b5653c27496a5d048ab5d2ccde964291d4cf /tests/rustdoc-gui/sidebar-source-code.goml
parentccf817b9bbe449204a227430d0a84a4f1d1798cc (diff)
downloadrust-cbccf800b85541187b3a8a17359c94c802e99748.tar.gz
rust-cbccf800b85541187b3a8a17359c94c802e99748.zip
rusdoc: add gui test for custom CSS themes
Based on
https://github.com/rust-lang/rust/pull/115829#issuecomment-1720056602
Diffstat (limited to 'tests/rustdoc-gui/sidebar-source-code.goml')
-rw-r--r--tests/rustdoc-gui/sidebar-source-code.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/sidebar-source-code.goml b/tests/rustdoc-gui/sidebar-source-code.goml
index 69c589741cb..92b9045b734 100644
--- a/tests/rustdoc-gui/sidebar-source-code.goml
+++ b/tests/rustdoc-gui/sidebar-source-code.goml
@@ -73,7 +73,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='src-sidebar']/details[not(text()='lib2') and not(@open)]", 9)
+assert-count: ("//*[@id='src-sidebar']/details[not(text()='lib2') and not(@open)]", 10)
 
 // We now switch to mobile mode.
 set-window-size: (600, 600)