about summary refs log tree commit diff
path: root/tests/rustdoc-gui/basic-code.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-07-14 16:38:01 -0700
committerMichael Howell <michael@notriddle.com>2023-07-14 16:38:01 -0700
commit34bc8fbea3b72ce1f9254dbed85fddb2d7985f75 (patch)
tree5a4da5d81e5837c080faf50b82f81d22d5d4d9bc /tests/rustdoc-gui/basic-code.goml
parentad963232d9b987d66a6f8e6ec4141f672b8b9900 (diff)
downloadrust-34bc8fbea3b72ce1f9254dbed85fddb2d7985f75.tar.gz
rust-34bc8fbea3b72ce1f9254dbed85fddb2d7985f75.zip
rustdoc: use `src` consistently over `source` in code
The CSS uses an inconsistent mix of both. This commit switches
it to always use `src`.
Diffstat (limited to 'tests/rustdoc-gui/basic-code.goml')
-rw-r--r--tests/rustdoc-gui/basic-code.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/basic-code.goml b/tests/rustdoc-gui/basic-code.goml
index e372f711974..22ac5316184 100644
--- a/tests/rustdoc-gui/basic-code.goml
+++ b/tests/rustdoc-gui/basic-code.goml
@@ -1,6 +1,6 @@
 // Small test to ensure the "src-line-numbers" element is only present once on
 // the page.
 go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
-click: ".srclink"
+click: "a.src"
 wait-for: ".src-line-numbers"
 assert-count: (".src-line-numbers", 1)