From 5c6a4d9e9047ad58bb5511e96e4502ff7da1281c Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 13 Dec 2016 08:32:30 +0100 Subject: [PATCH] make tvarargsuntyped test deterministic, independent of compiler's hashing order --- tests/macros/tvarargsuntyped.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/macros/tvarargsuntyped.nim b/tests/macros/tvarargsuntyped.nim index b7d2bc0019..657ed47d68 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: