diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-22 11:11:45 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-22 11:11:45 +0200 |
| commit | 3af9c9157e40197f404c95ddfda68114d9ef2adb (patch) | |
| tree | b92c33318ed836546212911ab93a36e62b25a192 /src/test/rustdoc-gui/source-code-page.goml | |
| parent | 9d93819fa7ae40376ac1f563a858d2ba5f3b0277 (diff) | |
| download | rust-3af9c9157e40197f404c95ddfda68114d9ef2adb.tar.gz rust-3af9c9157e40197f404c95ddfda68114d9ef2adb.zip | |
Update browser-ui-test version
Diffstat (limited to 'src/test/rustdoc-gui/source-code-page.goml')
| -rw-r--r-- | src/test/rustdoc-gui/source-code-page.goml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml index 20396e26895..41232dbd80f 100644 --- a/src/test/rustdoc-gui/source-code-page.goml +++ b/src/test/rustdoc-gui/source-code-page.goml @@ -3,11 +3,11 @@ goto: file://|DOC_PATH|/src/test_docs/lib.rs.html click: (40, 224) // This is the position of the span for line 4. // Unfortunately, "#4" isn't a valid query selector, so we have to go around that limitation // by instead getting the nth span. -assert-attr: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"}) +assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"}) // We now check that the good spans are highlighted goto: file://|DOC_PATH|/src/test_docs/lib.rs.html#4-6 -assert-attr-false: (".line-numbers > span:nth-child(3)", {"class": "line-highlighted"}) -assert-attr: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"}) -assert-attr: (".line-numbers > span:nth-child(5)", {"class": "line-highlighted"}) -assert-attr: (".line-numbers > span:nth-child(6)", {"class": "line-highlighted"}) -assert-attr-false: (".line-numbers > span:nth-child(7)", {"class": "line-highlighted"}) +assert-attribute-false: (".line-numbers > span:nth-child(3)", {"class": "line-highlighted"}) +assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"}) +assert-attribute: (".line-numbers > span:nth-child(5)", {"class": "line-highlighted"}) +assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highlighted"}) +assert-attribute-false: (".line-numbers > span:nth-child(7)", {"class": "line-highlighted"}) |
