summary refs log tree commit diff stats
path: root/tests/trmacros
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-31 13:46:27 +0200
committerAraq <rumpf_a@web.de>2014-08-31 13:46:27 +0200
commit3ba34f1762742682a54dfdc30986818b5c1ecd81 (patch)
treed996f1d21582a365eefd1f863555d5f5045b2be0 /tests/trmacros
parent697789a3134b7923edd3fe1bd14faa23da6be35c (diff)
downloadNim-3ba34f1762742682a54dfdc30986818b5c1ecd81.tar.gz
prettified re.nim; make some tests green
Diffstat (limited to 'tests/trmacros')
-rw-r--r--tests/trmacros/targlist.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trmacros/targlist.nim b/tests/trmacros/targlist.nim
index e416edf0a..321b3d5d2 100644
--- a/tests/trmacros/targlist.nim
+++ b/tests/trmacros/targlist.nim
@@ -3,7 +3,7 @@ discard """
 """
 
 proc f(x: varargs[string, `$`]) = discard
-template optF{f(X)}(x: varargs[expr]) = 
+template optF{f(x)}(x: varargs[expr]) = 
   writeln(stdout, x)
 
 f 1, 2, false, 3, "ha"