]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/check-code-blocks-margin.goml
Rollup merge of #104211 - lnicola:rust-analyzer-2022-11-09, r=lnicola
[rust.git] / src / test / 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"})