about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/check-code-blocks-margin.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-19 12:17:05 -0700
committerMichael Howell <michael@notriddle.com>2022-09-19 13:39:31 -0700
commit8e6cf7d84089862aad9711792ccbbe58cab28395 (patch)
treefacc04e6da86c8726fde4835c46b03dbf18aa80d /src/test/rustdoc-gui/check-code-blocks-margin.goml
parent9457380ac902db3febf92077c5b645db55998ad4 (diff)
downloadrust-8e6cf7d84089862aad9711792ccbbe58cab28395.tar.gz
rust-8e6cf7d84089862aad9711792ccbbe58cab28395.zip
rustdoc: update test cases for changed item-decl HTML
Diffstat (limited to 'src/test/rustdoc-gui/check-code-blocks-margin.goml')
-rw-r--r--src/test/rustdoc-gui/check-code-blocks-margin.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-gui/check-code-blocks-margin.goml b/src/test/rustdoc-gui/check-code-blocks-margin.goml
index f6266eba75d..f2fc3e9afc2 100644
--- a/src/test/rustdoc-gui/check-code-blocks-margin.goml
+++ b/src/test/rustdoc-gui/check-code-blocks-margin.goml
@@ -1,6 +1,6 @@
 // This test ensures that the docblock elements have the appropriate left margin.
 goto: file://|DOC_PATH|/test_docs/fn.foo.html
 // The top docblock elements shouldn't have left margin...
-assert-css: ("#main-content .docblock.item-decl", {"margin-left": "0px"})
+assert-css: ("#main-content .item-decl", {"margin-left": "0px"})
 // ... but all the others should!
-assert-css: ("#main-content .docblock:not(.item-decl)", {"margin-left": "24px"})
+assert-css: ("#main-content .docblock", {"margin-left": "24px"})