From e2467f2c4561b28b7bf211e203820a9b5901afd9 Mon Sep 17 00:00:00 2001 From: cynecx Date: Mon, 11 Oct 2021 00:15:50 +0200 Subject: [PATCH] rustdoc: fix source-code-page test --- src/test/rustdoc-gui/source-code-page.goml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml index 5a49807e180b..34ee2d1c04f8 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"})