summary refs log tree commit diff stats
path: root/tests/overload
diff options
context:
space:
mode:
Diffstat (limited to 'tests/overload')
-rw-r--r--tests/overload/tparam_forwarding.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/overload/tparam_forwarding.nim b/tests/overload/tparam_forwarding.nim
index cd3de32e3..b0eea42c7 100644
--- a/tests/overload/tparam_forwarding.nim
+++ b/tests/overload/tparam_forwarding.nim
@@ -46,7 +46,8 @@ proc hasRegularArgs(x: int, y: string) =
   echo "x: ", x, ", y: ", y
 
 templateForwarding(hasRegularArgs, true, 1, "test 1")
-templateForwarding(hasKeywordArgs, true, 2, "test 2")
+templateForwarding hasKeywordArgs, true, 2, "test 2"
+
 templateForwarding(hasKeywordArgs, true, y = "test 3")
-templateForwarding(hasKeywordArgs, true, y = "test 4", x = 4)
+templateForwarding hasKeywordArgs, true, y = "test 4", x = 4