]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/struct-fields.goml
Rollup merge of #106788 - estebank:elaborate_pred_E0599, 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| })