]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/check-code-blocks-margin.goml
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / rustdoc-gui / check-code-blocks-margin.goml
1 // This test ensures that the docblock elements have the appropriate left margin.
2 goto: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
3 // The top docblock elements shouldn't have left margin...
4 assert-css: ("#main-content .item-decl", {"margin-left": "0px"})
5 // ... but all the others should!
6 assert-css: ("#main-content .docblock", {"margin-left": "24px"})