about summary refs log tree commit diff
path: root/tests/rustdoc-gui/basic-code.goml
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-01-14 22:18:56 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-01-15 12:58:04 +0100
commit5376670323d14870be7d90b585735354674aa4cc (patch)
tree0628857ae23b6a82f652f3afcb9a224f9459d822 /tests/rustdoc-gui/basic-code.goml
parent98cfa68f16cb07a3c4bc18daeb071c53904a487f (diff)
downloadrust-5376670323d14870be7d90b585735354674aa4cc.tar.gz
rust-5376670323d14870be7d90b585735354674aa4cc.zip
Add small description to GUI test
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"