diff options
| author | HarmoGlace <23212967+HarmoGlace@users.noreply.github.com> | 2023-04-20 16:09:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 16:09:41 +0200 |
| commit | 42b93b7b534557205a6dc3dfda8fe3cfccfcc458 (patch) | |
| tree | 924171b6c1299fef0b628e0ac8c89c5775fea8be /tests/typ/compiler/break-continue.typ | |
| parent | c117e2dc276d19b022abccac0d252bd7fc1cd44e (diff) | |
Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` (#890)
Diffstat (limited to 'tests/typ/compiler/break-continue.typ')
| -rw-r--r-- | tests/typ/compiler/break-continue.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/break-continue.typ b/tests/typ/compiler/break-continue.typ index f6245007..6f505f80 100644 --- a/tests/typ/compiler/break-continue.typ +++ b/tests/typ/compiler/break-continue.typ @@ -41,7 +41,7 @@ #while x < 8 { i += 1 - if calc.mod(i, 3) == 0 { + if calc.rem(i, 3) == 0 { continue } x += i @@ -55,7 +55,7 @@ #let x = for i in range(5) { "a" - if calc.mod(i, 3) == 0 { + if calc.rem(i, 3) == 0 { "_" continue } |
