@@ -6,24 +6,23 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/type.SomeOtherTypeWithMethodsAndInli
66wait-for: "//*[@id='method.some_other_method_directly']"
77
88// methods on foo
9+ assert: "//*[@id='method.as_ref']"
910assert: "//*[@id='method.must_use']"
1011assert: "//*[@id='method.warning1']"
1112assert: "//*[@id='method.warning2']"
1213
1314// sidebar items
14- assert: "//*[@class='sidebar-elems']//li/a[@href='#method.as_ref']"
1515assert: "//*[@class='sidebar-elems']//li/a[@href='#method.must_use']"
1616assert: "//*[@class='sidebar-elems']//li/a[@href='#method.some_other_method_directly']"
1717assert: "//*[@class='sidebar-elems']//li/a[@href='#method.warning1']"
1818assert: "//*[@class='sidebar-elems']//li/a[@href='#method.warning2']"
1919assert: "//*[@class='sidebar-elems']//li/a[@href='#impl-AsRef%3Cstr%3E-for-Foo']"
2020
2121// sorting
22- assert-text: (".block.method li:nth-child(1)", 'as_ref')
23- assert-text: (".block.method li:nth-child(2)", 'must_use')
24- assert-text: (".block.method li:nth-child(3)", 'some_other_method_directly')
25- assert-text: (".block.method li:nth-child(4)", 'warning1')
26- assert-text: (".block.method li:nth-child(5)", 'warning2')
22+ assert-text: (".block.method li:nth-child(1)", 'must_use')
23+ assert-text: (".block.method li:nth-child(2)", 'some_other_method_directly')
24+ assert-text: (".block.method li:nth-child(3)", 'warning1')
25+ assert-text: (".block.method li:nth-child(4)", 'warning2')
2726
2827///////////////////////////////////////////////////////////////////////////
2928// Now, if JavaScript is disabled, only the first method will be present //
0 commit comments