]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/trait-sidebar-item-order.goml
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser
[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-links a:nth-of-type(1)", "another")
4 assert-text: (".sidebar-links a:nth-of-type(2)", "func1")
5 assert-text: (".sidebar-links a:nth-of-type(3)", "func2")
6 assert-text: (".sidebar-links a:nth-of-type(4)", "func3")
7 assert-text: (".sidebar-links a:nth-of-type(5)", "hello")
8 assert-text: (".sidebar-links a:nth-of-type(6)", "why_not")