summary refs log tree commit diff stats
path: root/tests/run/tmemoization.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tmemoization.nim')
-rw-r--r--tests/run/tmemoization.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/run/tmemoization.nim b/tests/run/tmemoization.nim
index 78f0515f3..180acd89b 100644
--- a/tests/run/tmemoization.nim
+++ b/tests/run/tmemoization.nim
@@ -1,17 +1,17 @@
 discard """
-  msg:    "test 1\ntest 2"
-  output: "TEST 1\nTEST 2\nTEST 2"
+  msg:    "test 1\ntest 2\ntest 3"
+  output: "TEST 1\nTEST 2\nTEST 3"
 """
 
 import strutils
 
-proc foo(s: expr[string]): string =
+proc foo(s: static[string]): string =
   static: echo s
 
   const R = s.toUpper
   return R
-  
+
 echo foo("test 1")
 echo foo("test 2")
-echo foo("test " & $2)
+echo foo("test " & $3)