]> git.proxmox.com Git - rustc.git/blob - tests/rustdoc-gui/no-docblock.goml
New upstream version 1.70.0+dfsg1
[rustc.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 go-to: "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 go-to: "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})