From babd174aceb848e6dd3f67d9a8808cefe8b49193 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 20 Dec 2022 08:22:31 +0100 Subject: [PATCH] Improve description of struct-fields GUI test --- src/test/rustdoc-gui/struct-fields.goml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc-gui/struct-fields.goml b/src/test/rustdoc-gui/struct-fields.goml index 3ec60b58cfde8..fa3e16cb81ef8 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| })