Skip to content

Commit e2467f2

Browse files
cynecxGuillaumeGomez
authored andcommitted
rustdoc: fix source-code-page test
1 parent ee0ca2d commit e2467f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc-gui/source-code-page.goml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
goto: file://|DOC_PATH|/src/test_docs/lib.rs.html
22
// Check that we can click on the line number.
3-
click: (40, 224) // This is the position of the span for line 4.
3+
click: (50, 196) // This is the position of the span for line 4.
44
// Unfortunately, "#4" isn't a valid query selector, so we have to go around that limitation
55
// by instead getting the nth span.
66
assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"})

0 commit comments

Comments
 (0)