diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-12-20 08:22:31 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-12-20 08:22:31 +0100 |
| commit | babd174aceb848e6dd3f67d9a8808cefe8b49193 (patch) | |
| tree | 2af10fb90889bb361c66b2b0e13dac9e0ff44b1d | |
| parent | 4653c93e4442d88bf3278067183c8fdc0be74a1f (diff) | |
| download | rust-babd174aceb848e6dd3f67d9a8808cefe8b49193.tar.gz rust-babd174aceb848e6dd3f67d9a8808cefe8b49193.zip | |
Improve description of struct-fields GUI test
| -rw-r--r-- | src/test/rustdoc-gui/struct-fields.goml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/struct-fields.goml b/src/test/rustdoc-gui/struct-fields.goml index 3ec60b58cfd..fa3e16cb81e 100644 --- a/src/test/rustdoc-gui/struct-fields.goml +++ b/src/test/rustdoc-gui/struct-fields.goml @@ -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| }) |
