]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/struct-fields.goml
Auto merge of #107406 - cjgillot:eliminate-witnesses, r=compiler-errors
[rust.git] / tests / rustdoc-gui / struct-fields.goml
1 // This test ensures that each field is on its own line (In other words, they have display: block).
2 goto: "file://" + |DOC_PATH| + "/test_docs/struct.StructWithPublicUndocumentedFields.html"
3
4 store-property: (first_top, "//*[@id='structfield.first']", "offsetTop")
5 assert-property-false: ("//*[@id='structfield.second']", { "offsetTop": |first_top| })