diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-06-14 14:05:46 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-06-14 14:05:46 +0200 |
| commit | 6832ca2a26df5a9407bd2b0266cc0bab328ebeba (patch) | |
| tree | 03351952e47c5f4be3ea9955b155d0eb8ffc3902 /tests/typ/code/ops.typ | |
| parent | e03f32ca34eb0977e5ce42308a0fc0a554e16317 (diff) | |
Ensure expressions can continue after a multiline block
Diffstat (limited to 'tests/typ/code/ops.typ')
| -rw-r--r-- | tests/typ/code/ops.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/code/ops.typ b/tests/typ/code/ops.typ index 012b8c87..c382f34d 100644 --- a/tests/typ/code/ops.typ +++ b/tests/typ/code/ops.typ @@ -49,6 +49,11 @@ #test(3-4 * 5 < -10, true) #test({ let x; x = 1 + 4*5 >= 21 and { x = "a"; x + "b" == "ab" }; x }, true) +// With block. +#test(if true { + 1 +} + 2, 3) + // Mathematical identities. #let nums = ( 1, 3.14, |
