Skip to content

Commit

Permalink
Rollup merge of #105939 - GuillaumeGomez:improve-description-gui-test…
Browse files Browse the repository at this point in the history
…, r=Dylan-DPC

Improve description of struct-fields GUI test

I moved the comment at the top of the file and clarified it a little bit.

r? `@notriddle`
  • Loading branch information
matthiaskrgr authored Dec 20, 2022
2 parents ced6f38 + babd174 commit 191a877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rustdoc-gui/struct-fields.goml
Original file line number Diff line number Diff line change
@@ -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| })

0 comments on commit 191a877

Please sign in to comment.