summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-03-11 12:51:38 +0100
committerGitHub <noreply@github.com>2024-03-11 11:51:38 +0000
commit7f0b7a28c7686b7b76ccdc1aa2937c6994c006fe (patch)
tree930ba673979e52317060176a468c02157125cf82 /tests
parent671b67d43f9b4bbad1076588582823ec92322e3b (diff)
Fix figure caption separator synthesis (#3621)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/bugs/3586-figure-caption-separator.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/bugs/3586-figure-caption-separator.typ b/tests/typ/bugs/3586-figure-caption-separator.typ
new file mode 100644
index 00000000..ee992c50
--- /dev/null
+++ b/tests/typ/bugs/3586-figure-caption-separator.typ
@@ -0,0 +1,7 @@
+// Test that figure caption separator is synthesized correctly.
+// https://github.com/typst/typst/issues/3586
+// Ref: false
+
+---
+#show figure.caption: c => test(c.separator, [#": "])
+#figure(table[], caption: [This is a test caption])