mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Improve description of struct-fields GUI test
This commit is contained in:
parent
4653c93e44
commit
babd174ace
@ -1,5 +1,5 @@
|
||||
// This test ensures that each field is on its own line (In other words, they have display: block).
|
||||
goto: "file://" + |DOC_PATH| + "/test_docs/struct.StructWithPublicUndocumentedFields.html"
|
||||
|
||||
// Both fields must be on their own line. In other words, they have display: block.
|
||||
store-property: (first_top, "//*[@id='structfield.first']", "offsetTop")
|
||||
assert-property-false: ("//*[@id='structfield.second']", { "offsetTop": |first_top| })
|
||||
|
Loading…
Reference in New Issue
Block a user