diff options
Diffstat (limited to 'tests/rustdoc-gui/enum-variants.goml')
-rw-r--r-- | tests/rustdoc-gui/enum-variants.goml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/enum-variants.goml b/tests/rustdoc-gui/enum-variants.goml new file mode 100644 index 000000000..8dfc49285 --- /dev/null +++ b/tests/rustdoc-gui/enum-variants.goml @@ -0,0 +1,10 @@ +// Verifies that there is non-zero margin on variants and their docblocks. +goto: "file://" + |DOC_PATH| + "/test_docs/enum.WhoLetTheDogOut.html" + +assert-css: (".variants > .variant", {"margin": "0px 0px 12px"}) +assert-css: (".variants > .docblock", {"margin": "0px 0px 32px 24px"}) + +assert-css: ( + "details.non-exhaustive > summary", + {"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'}, +) |