summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/struct-fields.goml
blob: da0467de13ace8a8bbc8c343ceceb09600d0d71c (plain)
1
2
3
4
5
// This test ensures that each field is on its own line (In other words, they have display: block).
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.StructWithPublicUndocumentedFields.html"

store-property: (first_top, "//*[@id='structfield.first']", "offsetTop")
assert-property-false: ("//*[@id='structfield.second']", { "offsetTop": |first_top| })