summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/no-docblock.goml
blob: 2366a60f5c61d1458fa5af5a25a8ea6c2ef96e3b (plain)
1
2
3
4
5
6
7
8
// This test checks that there are margins applied to methods with no docblocks.
goto: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
// Check that the two methods are more than 24px apart.
compare-elements-position-near-false: ("//*[@id='tymethod.first_fn']", "//*[@id='tymethod.second_fn']", {"y": 24})

goto: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
// Check that the two methods are more than 24px apart.
compare-elements-position-near-false: ("//*[@id='method.first_fn']", "//*[@id='method.second_fn']", {"y": 24})