summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-12-13 08:32:30 +0100
committerAraq <rumpf_a@web.de>2016-12-13 08:32:30 +0100
commit5c6a4d9e9047ad58bb5511e96e4502ff7da1281c (patch)
tree9659fc4f654ab4952515be7a6d1087e09d73fe83
parente169eaac5be10d720cb4fb8f15fb17a84e4725d1 (diff)
downloadNim-5c6a4d9e9047ad58bb5511e96e4502ff7da1281c.tar.gz
make tvarargsuntyped test deterministic, independent of compiler's hashing order
-rw-r--r--tests/macros/tvarargsuntyped.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/macros/tvarargsuntyped.nim b/tests/macros/tvarargsuntyped.nim
index b7d2bc001..657ed47d6 100644
--- a/tests/macros/tvarargsuntyped.nim
+++ b/tests/macros/tvarargsuntyped.nim
@@ -9,7 +9,8 @@ discard """
 import macros
 
 proc internalBar(top, left, width, height: cint, s: string, x, y: int, r,g,b: int) =
-  echo locals()
+  echo "(left: ", left, ", r: ", r, ", x: ", x, ", height: ", height, ", s: ", s,
+    ", width: ", width, ", y: ", y, ", top: ", top, ", g: ", g, ", b: ", b, ")"
 
 # we need these dummy constructors due to the wrong implementation
 # of 'varargs[untyped]' in the compiler: