summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/enum-variants.goml
blob: 8dfc49285f2eb6695818d2d5a6090a3728ba3349 (plain)
1
2
3
4
5
6
7
8
9
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'},
)