summary refs log tree commit diff stats
path: root/tests/gensym
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-09-06 00:45:00 +0200
committerGitHub <noreply@github.com>2019-09-06 00:45:00 +0200
commit488f3ed0852d877203b671887e291248bbbd0750 (patch)
tree8260ba1c31c4baedb124d6fa7c8ec3128d56fd8f /tests/gensym
parent0882a09986b0e7d2be70cc034df80d8c322cdf75 (diff)
downloadNim-488f3ed0852d877203b671887e291248bbbd0750.tar.gz
fixes yet another gensym regression (#12145)
Diffstat (limited to 'tests/gensym')
-rw-r--r--tests/gensym/tgensymgeneric.nim14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/gensym/tgensymgeneric.nim b/tests/gensym/tgensymgeneric.nim
index 9963ba808..c17a0715f 100644
--- a/tests/gensym/tgensymgeneric.nim
+++ b/tests/gensym/tgensymgeneric.nim
@@ -40,15 +40,15 @@ doAssert y.x == "abc"
 import macros
 
 static:
-  let sym1   = genSym()
-  let sym2   = genSym()
-  let sym3   = sym1
+  let sym1 = genSym()
+  let sym2 = genSym()
+  let sym3 = sym1
   let nimsym = sym1.symbol
-  doAssert sym1        == sym1
-  doAssert sym2        != sym3
+  doAssert sym1 == sym1
+  doAssert sym2 != sym3
   doAssert sym2.symbol != sym3.symbol
-  doAssert sym3        == sym1
+  doAssert sym3 == sym1
   doAssert sym1.symbol == sym1.symbol
-  doAssert nimsym      == nimsym
+  doAssert nimsym == nimsym
 
 echo "true"