|
3 | 3 | goto: file://|DOC_PATH|/implementors/trait.Whatever.html
|
4 | 4 | assert: "#implementors-list"
|
5 | 5 | // There are supposed to be two implementors listed.
|
6 |
| -assert-count: ("#implementors-list > .impl", 2) |
| 6 | +assert-count: ("#implementors-list .impl", 2) |
7 | 7 | // Now we check that both implementors have an anchor, an ID and a similar DOM.
|
8 |
| -assert: ("#implementors-list > .impl:nth-child(1) > a.anchor") |
9 |
| -assert-attribute: ("#implementors-list > .impl:nth-child(1)", {"id": "impl-Whatever"}) |
10 |
| -assert-attribute: ("#implementors-list > .impl:nth-child(1) > a.anchor", {"href": "#impl-Whatever"}) |
11 |
| -assert: "#implementors-list > .impl:nth-child(1) > .code-header.in-band" |
| 8 | +assert: ("#implementors-list .impl:nth-child(1) > a.anchor") |
| 9 | +assert-attribute: ("#implementors-list .impl:nth-child(1)", {"id": "impl-Whatever"}) |
| 10 | +assert-attribute: ("#implementors-list .impl:nth-child(1) > a.anchor", {"href": "#impl-Whatever"}) |
| 11 | +assert: "#implementors-list .impl:nth-child(1) > .code-header.in-band" |
12 | 12 |
|
13 |
| -assert: ("#implementors-list > .impl:nth-child(2) > a.anchor") |
14 |
| -assert-attribute: ("#implementors-list > .impl:nth-child(2)", {"id": "impl-Whatever-1"}) |
15 |
| -assert-attribute: ("#implementors-list > .impl:nth-child(2) > a.anchor", {"href": "#impl-Whatever-1"}) |
16 |
| -assert: "#implementors-list > .impl:nth-child(2) > .code-header.in-band" |
| 13 | +assert: ("#implementors-list .impl:nth-child(2) > a.anchor") |
| 14 | +assert-attribute: ("#implementors-list .impl:nth-child(2)", {"id": "impl-Whatever-1"}) |
| 15 | +assert-attribute: ("#implementors-list .impl:nth-child(2) > a.anchor", {"href": "#impl-Whatever-1"}) |
| 16 | +assert: "#implementors-list .impl:nth-child(2) > .code-header.in-band" |
0 commit comments