summaryrefslogtreecommitdiff
path: root/tests/typ/meta
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/meta')
-rw-r--r--tests/typ/meta/figure-caption.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/meta/figure-caption.typ b/tests/typ/meta/figure-caption.typ
index 2a12cc22..0188ebca 100644
--- a/tests/typ/meta/figure-caption.typ
+++ b/tests/typ/meta/figure-caption.typ
@@ -54,3 +54,11 @@
caption: [Hi],
supplement: [B],
)
+
+---
+// Ref: false
+#set figure.caption(position: top)
+
+---
+// Error: 31-38 expected `top` or `bottom`, found horizon
+#set figure.caption(position: horizon)