]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/code-blocks-overflow.goml
Rollup merge of #107777 - compiler-errors:derive_const-actually-derive-const, r=fee1...
[rust.git] / tests / rustdoc-gui / code-blocks-overflow.goml
1 // This test ensures that codeblocks content don't overflow.
2 goto: "file://" + |DOC_PATH| + "/lib2/sub_mod/struct.Foo.html"
3 size: (1080, 600)
4 // There should be two codeblocks: a rust one and a non-rust one.
5 assert-count: (".docblock > .example-wrap", 2)
6 assert: ".docblock > .example-wrap > .language-txt"
7 assert: ".docblock > .example-wrap > .rust-example-rendered"
8 assert-css: (".docblock > .example-wrap > pre", {"width": "796px", "overflow-x": "auto"}, ALL)