fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
718 B13 linesraw
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.
5fail-on-request-error: false
6
7go-to: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
8// Check that the two methods are more than 24px apart.
9compare-elements-position-near-false: ("//*[@id='tymethod.first_fn']", "//*[@id='tymethod.second_fn']", {"y": 24})
10
11go-to: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
12// Check that the two methods are more than 24px apart.
13compare-elements-position-near-false: ("//*[@id='method.first_fn']", "//*[@id='method.second_fn']", {"y": 24})