summary refs log tree commit diff stats
path: root/tests/arithm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arithm')
-rw-r--r--tests/arithm/tarithm.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arithm/tarithm.nim b/tests/arithm/tarithm.nim
index e20b159f8..4625a5ecf 100644
--- a/tests/arithm/tarithm.nim
+++ b/tests/arithm/tarithm.nim
@@ -143,5 +143,5 @@ block tsubrange:
   var level: n16 = 1
   let maxLevel: n16 = 1
 
-  level = min(level + 2, maxLevel)
+  level = min(level + 2, maxLevel).n16
   doAssert level == 1