summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/string.typ
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2023-01-30 21:04:34 +0100
committerMartin Haug <mhaug@live.de>2023-01-30 21:04:34 +0100
commit0287b98ef31172c6da4d5a4c76d8d88d1d5c9049 (patch)
tree000bd243993a5212ce52c08374cf20cd0f61bcf9 /tests/typ/compiler/string.typ
parent1ea0a933254d866e00acb9034bba39a5f4790682 (diff)
Add calc module
Diffstat (limited to 'tests/typ/compiler/string.typ')
-rw-r--r--tests/typ/compiler/string.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/string.typ b/tests/typ/compiler/string.typ
index 57699074..d96213b6 100644
--- a/tests/typ/compiler/string.typ
+++ b/tests/typ/compiler/string.typ
@@ -88,7 +88,7 @@
let caps = match.captures
time += 60 * int(caps.at(0)) + int(caps.at(1))
}
- str(int(time / 60)) + ":" + str(mod(time, 60))
+ str(int(time / 60)) + ":" + str(calc.mod(time, 60))
}
#test(timesum(""), "0:0")