about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-02-04 11:11:03 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-02-04 11:11:03 +0100
commitef00e3bee7fcb95968f04a7c2582c7463a97cd29 (patch)
tree16c6663f66c19eee4ebd8eb7b062496501ebbcd5
parent925ff53fefa3ed177e8f2a1d7b7c30b56aa1e0f3 (diff)
downloadrust-ef00e3bee7fcb95968f04a7c2582c7463a97cd29.tar.gz
rust-ef00e3bee7fcb95968f04a7c2582c7463a97cd29.zip
Add comment in GUI test
-rw-r--r--src/test/rustdoc-gui/type-declation-overflow.goml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/type-declation-overflow.goml b/src/test/rustdoc-gui/type-declation-overflow.goml
index 229c6d6ba6b..99aa38e87e9 100644
--- a/src/test/rustdoc-gui/type-declation-overflow.goml
+++ b/src/test/rustdoc-gui/type-declation-overflow.goml
@@ -31,6 +31,7 @@ assert-property: (".item-decl pre", {"scrollWidth": "950"})
 // On mobile:
 size: (600, 600)
 goto: file://|DOC_PATH|/lib2/too_long/struct.SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName.html
+// It shouldn't have an overflow in the topbar either.
 assert-property: (".mobile-topbar .location", {"scrollWidth": "986"})
 assert-property: (".mobile-topbar .location", {"clientWidth": "504"})
 assert-css: (".mobile-topbar .location", {"overflow-x": "hidden"})