about summary refs log tree commit diff
path: root/tests/rustdoc-gui/basic-code.goml
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-15 21:35:50 +0000
committerbors <bors@rust-lang.org>2023-01-15 21:35:50 +0000
commit9a19e7604436056fafe10dffc7214fc6adb88400 (patch)
treec030034dd4d85f1604b0ef7fd4889e1005c7e72d /tests/rustdoc-gui/basic-code.goml
parent9e75dddf609c0201d03f9792e850f95d6a283d11 (diff)
parentfc78b1e7f9e2823a99919e452d0e7635f4e049e0 (diff)
downloadrust-9a19e7604436056fafe10dffc7214fc6adb88400.tar.gz
rust-9a19e7604436056fafe10dffc7214fc6adb88400.zip
Auto merge of #106914 - matthiaskrgr:rollup-yh0x4gq, r=matthiaskrgr
Rollup of 5 pull requests

Successful merges:

 - #106888 (Add tidy check to ensure that rustdoc GUI tests start with a small description)
 - #106896 (suggest `is_empty` for collections when casting to `bool`)
 - #106900 (Fix regression in `unused_braces` with macros)
 - #106906 (remove redundant clones)
 - #106909 (Only suggest adding type param if path being resolved was a type)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/rustdoc-gui/basic-code.goml')
-rw-r--r--tests/rustdoc-gui/basic-code.goml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/basic-code.goml b/tests/rustdoc-gui/basic-code.goml
index 108cf8abcb5..971c2f9480e 100644
--- a/tests/rustdoc-gui/basic-code.goml
+++ b/tests/rustdoc-gui/basic-code.goml
@@ -1,3 +1,5 @@
+// Small test to ensure the "src-line-numbers" element is only present once on
+// the page.
 goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
 click: ".srclink"
 wait-for: ".src-line-numbers"