]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/no-docblock.goml
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / rustdoc-gui / no-docblock.goml
1 // This test checks that there are margins applied to methods with no docblocks.
2
3 // We need to disable this check because `implementors/test_docs/trait.TraitWithNoDocblock.js`
4 // doesn't exist.
5 fail-on-request-error: false
6
7 goto: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
8 // Check that the two methods are more than 24px apart.
9 compare-elements-position-near-false: ("//*[@id='tymethod.first_fn']", "//*[@id='tymethod.second_fn']", {"y": 24})
10
11 goto: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
12 // Check that the two methods are more than 24px apart.
13 compare-elements-position-near-false: ("//*[@id='method.first_fn']", "//*[@id='method.second_fn']", {"y": 24})