]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/type-declation-overflow.goml
Avoid tupling at the callee
[rust.git] / src / test / rustdoc-gui / type-declation-overflow.goml
1 // This test ensures that the type declaration content overflow is handled inside the <pre> directly.
2 goto: file://|DOC_PATH|/lib2/long_trait/trait.ALongNameBecauseItHelpsTestingTheCurrentProblem.html
3 // We set a fixed size so there is no chance of "random" resize.
4 size: (1100, 800)
5 // Logically, the <body> scroll width should be the width of the window.
6 assert-property: ("body", {"scrollWidth": "1100"})
7 // However, since there is overflow in the type declaration, its scroll width is bigger.
8 assert-property: (".type-decl pre", {"scrollWidth": "1324"})