summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
authorIan Wrzesinski <133046678+wrzian@users.noreply.github.com>2025-05-28 09:44:44 -0400
committerGitHub <noreply@github.com>2025-05-28 13:44:44 +0000
commit9a95966302bae4d795cd2fba4b3beb6f41629221 (patch)
treef98132c0cfab0c14748efad4d6ba089315cfb4d6 /tests/suite
parent9ac21b8524632c70ab9e090488a70085eabe4189 (diff)
Remove line break opportunity when math operator precededes a closing paren (#6216)
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/math/multiline.typ3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/suite/math/multiline.typ b/tests/suite/math/multiline.typ
index 34e66b99..70838dd8 100644
--- a/tests/suite/math/multiline.typ
+++ b/tests/suite/math/multiline.typ
@@ -99,6 +99,9 @@ Multiple trailing line breaks.
#let hrule(x) = box(line(length: x))
#hrule(90pt)$<;$\
#hrule(95pt)$<;$\
+// We don't linebreak before a closing paren, but do before an opening paren.
+#hrule(90pt)$<($\
+#hrule(95pt)$<($
#hrule(90pt)$<)$\
#hrule(95pt)$<)$