summaryrefslogtreecommitdiff
path: root/tests/suite/math/syntax.typ
diff options
context:
space:
mode:
authorIan Wrzesinski <133046678+wrzian@users.noreply.github.com>2025-04-02 05:30:04 -0400
committerGitHub <noreply@github.com>2025-04-02 09:30:04 +0000
commit12699eb7f415bdba6797c84e3e7bf44dde75bdf9 (patch)
treea0fa17865317b697c469bd0cfee9814f7adada53 /tests/suite/math/syntax.typ
parent96dd67e011bb317cf78683bcf1edfdfca5e7b6b3 (diff)
Parse multi-character numbers consistently in math (#5996)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests/suite/math/syntax.typ')
-rw-r--r--tests/suite/math/syntax.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/suite/math/syntax.typ b/tests/suite/math/syntax.typ
index 7091d908..32b9c098 100644
--- a/tests/suite/math/syntax.typ
+++ b/tests/suite/math/syntax.typ
@@ -28,6 +28,10 @@ $ dot \ dots \ ast \ tilde \ star $
$floor(phi.alt.)$
$floor(phi.alt. )$
+--- issue-4828-math-number-multi-char ---
+// Numbers should parse the same regardless of number of characters.
+$1/2(x)$ vs. $1/10(x)$
+
--- math-unclosed ---
// Error: 1-2 unclosed delimiter
$a