about summary refs log tree commit diff
path: root/tests/rustdoc-gui/docblock-code-block-line-number.goml
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-02 15:59:00 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-02 15:59:00 +0200
commite3af6dc23915f027b9de0721aae86f794a053627 (patch)
tree92c8fab42daba5cee71d2588434570e41d404067 /tests/rustdoc-gui/docblock-code-block-line-number.goml
parent01d8235ae1f388f896bf5a504077cd5101ae8fca (diff)
downloadrust-e3af6dc23915f027b9de0721aae86f794a053627.tar.gz
rust-e3af6dc23915f027b9de0721aae86f794a053627.zip
Simplify CSS but wrapping scraped example into a div and move the title out of the code block
Diffstat (limited to 'tests/rustdoc-gui/docblock-code-block-line-number.goml')
-rw-r--r--tests/rustdoc-gui/docblock-code-block-line-number.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-gui/docblock-code-block-line-number.goml b/tests/rustdoc-gui/docblock-code-block-line-number.goml
index 36a17b1c833..71ef041c684 100644
--- a/tests/rustdoc-gui/docblock-code-block-line-number.goml
+++ b/tests/rustdoc-gui/docblock-code-block-line-number.goml
@@ -109,7 +109,7 @@ assert-local-storage: {"rustdoc-line-numbers": "true" }
 go-to: "file://" + |DOC_PATH| + "/scrape_examples/fn.test_many.html"
 
 assert-css: (
-    ".scraped-example pre.src-line-numbers",
+    ".scraped-example .src-line-numbers",
     {
         // There should not be a radius on the right of the line numbers.
         "border-top-left-radius": "6px",