summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-03-11 12:12:41 +0100
committerGitHub <noreply@github.com>2024-03-11 11:12:41 +0000
commit671b67d43f9b4bbad1076588582823ec92322e3b (patch)
tree8e06ab8dcca283f87ab1c6a31b678e13168a94d6 /tests
parent54f6ee0e5358d1fcb3c9b231ad51b35ff7f2a8bc (diff)
Fix crash with empty raw block (#3619)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/bugs/3601-empty-raw.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/bugs/3601-empty-raw.typ b/tests/typ/bugs/3601-empty-raw.typ
new file mode 100644
index 00000000..3fb39aca
--- /dev/null
+++ b/tests/typ/bugs/3601-empty-raw.typ
@@ -0,0 +1,7 @@
+// Test that empty raw block with `typ` language doesn't cause a crash.
+// https://github.com/typst/typst/issues/3601
+// Ref: false
+
+---
+```typ
+```