Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
6
tests/rustdoc-gui/check-code-blocks-margin.goml
Normal file
6
tests/rustdoc-gui/check-code-blocks-margin.goml
Normal file
|
@ -0,0 +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 .item-decl", {"margin-left": "0px"})
|
||||
// ... but all the others should!
|
||||
assert-css: ("#main-content .docblock", {"margin-left": "24px"})
|
Loading…
Add table
Add a link
Reference in a new issue