summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-02 00:03:57 +0100
committerAraq <rumpf_a@web.de>2014-02-02 00:03:57 +0100
commita5098f1fda974ec8420f3a2f6691077e4aa93484 (patch)
tree96084e0de5ea5b51a7297b40e4e7b3acf1ca5d2d /tests
parent3b5c0b27ce2578eceb97128239112653d592707f (diff)
downloadNim-a5098f1fda974ec8420f3a2f6691077e4aa93484.tar.gz
fixed cases
Diffstat (limited to 'tests')
-rw-r--r--tests/macros/tstringinterp.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/macros/tstringinterp.nim b/tests/macros/tstringinterp.nim
index f030213e0..a500ed56e 100644
--- a/tests/macros/tstringinterp.nim
+++ b/tests/macros/tstringinterp.nim
@@ -9,7 +9,7 @@ proc concat(strings: varargs[string]): string =
   result = newString(0)
   for s in items(strings): result.add(s)
 
-template ProcessInterpolations(e: expr) =
+template processInterpolations(e: expr) =
   var s = e[1].strVal
   for f in interpolatedFragments(s):
     case f.kind
@@ -35,7 +35,7 @@ macro formatStyleInterpolation(e: expr): expr =
   proc addDollar() =
     formatString.add("$$")
     
-  ProcessInterpolations(e)
+  processInterpolations(e)
 
   result = parseExpr("\"x\" % [y]")
   result[1].strVal = formatString
@@ -50,7 +50,7 @@ macro concatStyleInterpolation(e: expr): expr =
   proc addExpr(e: PNimrodNode) = args.add(e)
   proc addDollar()             = args.add(newStrLitNode"$")
 
-  ProcessInterpolations(e)
+  processInterpolations(e)
 
   result = newCall("concat", args)