rustdoc: fix test case
This commit is contained in:
parent
aa5a0c0d88
commit
a3ae6fec89
@ -28,7 +28,7 @@ assert: "//*[@class='dir-entry' and @open]/*[text()='sub_mod']"
|
|||||||
// Only "another_folder" should be "open" in "lib2".
|
// Only "another_folder" should be "open" in "lib2".
|
||||||
assert: "//*[@class='dir-entry' and not(@open)]/*[text()='another_mod']"
|
assert: "//*[@class='dir-entry' and not(@open)]/*[text()='another_mod']"
|
||||||
// All other trees should be collapsed.
|
// 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.
|
// We now switch to mobile mode.
|
||||||
size: (600, 600)
|
size: (600, 600)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user