summaryrefslogtreecommitdiff
path: root/tests/typ/bugs/2821-missing-fields.typ
blob: 0fec20437e5df93af2f1a5bf256882aad619d38a (plain) (blame)
1
2
3
4
5
6
7
8
9
// Issue #2821: Setting a figure's supplement to none removes the field
// Ref: false

---
#show figure.caption: it => {
  assert(it.has("supplement"))
  assert(it.supplement == none)
}
#figure([], caption: [], supplement: none)