]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/no-docblock.goml
Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup
[rust.git] / src / test / rustdoc-gui / no-docblock.goml
1 // This test checks that there are margins applied to methods with no docblocks.
2 goto: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
3 // Check that the two methods are more than 24px apart.
4 compare-elements-position-near-false: ("//*[@id='tymethod.first_fn']", "//*[@id='tymethod.second_fn']", {"y": 24})
5
6 goto: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
7 // Check that the two methods are more than 24px apart.
8 compare-elements-position-near-false: ("//*[@id='method.first_fn']", "//*[@id='method.second_fn']", {"y": 24})