-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42c8fbc
commit 3a3bf5f
Showing
3 changed files
with
1 addition
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
// This test ensures two things: | ||
// | ||
// 1. The implementors toggle are not open by default. | ||
// 2. The "auto-collapse-implementors" setting is working as expected. | ||
// This test ensures that the implementors toggle are not open by default. | ||
goto: file://|DOC_PATH|/implementors/trait.Whatever.html | ||
|
||
// First, checking that they are not open by default. | ||
assert-attribute-false: ("#implementors-list > details", {"open": ""}, ALL) | ||
|
||
// Second, checking "auto-collapse-implementors" setting. | ||
local-storage: {"rustdoc-auto-collapse-implementors": false} | ||
reload: | ||
assert-attribute: ("#implementors-list > details", {"open": ""}, ALL) |