diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-02 15:59:00 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-02 15:59:00 +0200 |
| commit | e3af6dc23915f027b9de0721aae86f794a053627 (patch) | |
| tree | 92c8fab42daba5cee71d2588434570e41d404067 /tests/rustdoc-gui/docblock-code-block-line-number.goml | |
| parent | 01d8235ae1f388f896bf5a504077cd5101ae8fca (diff) | |
| download | rust-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.goml | 2 |
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", |
