about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/source-code-page.goml
diff options
context:
space:
mode:
authorcynecx <me@cynecx.net>2021-10-11 00:15:50 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-11-29 11:07:20 +0100
commite2467f2c4561b28b7bf211e203820a9b5901afd9 (patch)
tree4baf2bb82a8a7302013a76975d757c97c34065c7 /src/test/rustdoc-gui/source-code-page.goml
parentee0ca2d1c0c76699dc93f63b03ba4378102b2fd2 (diff)
downloadrust-e2467f2c4561b28b7bf211e203820a9b5901afd9.tar.gz
rust-e2467f2c4561b28b7bf211e203820a9b5901afd9.zip
rustdoc: fix source-code-page test
Diffstat (limited to 'src/test/rustdoc-gui/source-code-page.goml')
-rw-r--r--src/test/rustdoc-gui/source-code-page.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml
index 5a49807e180..34ee2d1c04f 100644
--- a/src/test/rustdoc-gui/source-code-page.goml
+++ b/src/test/rustdoc-gui/source-code-page.goml
@@ -1,6 +1,6 @@
 goto: file://|DOC_PATH|/src/test_docs/lib.rs.html
 // Check that we can click on the line number.
-click: (40, 224) // This is the position of the span for line 4.
+click: (50, 196) // 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-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"})