summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/3658-math-size.pngbin0 -> 531 bytes
-rw-r--r--tests/typ/bugs/3658-math-size.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/bugs/3658-math-size.png b/tests/ref/bugs/3658-math-size.png
new file mode 100644
index 00000000..94c8d388
--- /dev/null
+++ b/tests/ref/bugs/3658-math-size.png
Binary files differ
diff --git a/tests/typ/bugs/3658-math-size.typ b/tests/typ/bugs/3658-math-size.typ
new file mode 100644
index 00000000..63c020b2
--- /dev/null
+++ b/tests/typ/bugs/3658-math-size.typ
@@ -0,0 +1,5 @@
+// https://github.com/typst/typst/issues/3658
+
+---
+$ #rect[$1/2$] $
+$#rect[$1/2$]$