]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/trait-sidebar-item-order.goml
Rollup merge of #100367 - fmease:fix-100365, r=compiler-errors
[rust.git] / src / test / rustdoc-gui / trait-sidebar-item-order.goml
1 // Checks that the elements in the sidebar are alphabetically sorted.
2 goto: file://|DOC_PATH|/test_docs/trait.AnotherOne.html
3 assert-text: (".sidebar-elems section .block li:nth-of-type(1) > a", "another")
4 assert-text: (".sidebar-elems section .block li:nth-of-type(2) > a", "func1")
5 assert-text: (".sidebar-elems section .block li:nth-of-type(3) > a", "func2")
6 assert-text: (".sidebar-elems section .block li:nth-of-type(4) > a", "func3")
7 assert-text: (".sidebar-elems section .block li:nth-of-type(5) > a", "hello")
8 assert-text: (".sidebar-elems section .block li:nth-of-type(6) > a", "why_not")