summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharles Blake <cblake@csail.mit.edu>2015-02-16 07:15:34 -0500
committerCharles Blake <cblake@csail.mit.edu>2015-02-16 07:15:34 -0500
commitdb257669c36ae39d79ad25c69ab00151d958ae5a (patch)
tree0a13a04cee15f480c25dbba7e45b5dc04d0fd18a
parent0a3e732b9ffc58d77f8821da64d2a31f8e894e6b (diff)
downloadNim-db257669c36ae39d79ad25c69ab00151d958ae5a.tar.gz
New probe seq swaps 1st two keys. Fix in compare.
-rw-r--r--tests/collections/ttablesref.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/collections/ttablesref.nim b/tests/collections/ttablesref.nim
index e666c7852..b57aedf4a 100644
--- a/tests/collections/ttablesref.nim
+++ b/tests/collections/ttablesref.nim
@@ -47,7 +47,7 @@ block tableTest1:
     for y in 0..1:
       assert t[(x,y)] == $x & $y
   assert($t == 
-    "{(x: 0, y: 0): 00, (x: 0, y: 1): 01, (x: 1, y: 0): 10, (x: 1, y: 1): 11}")
+    "{(x: 0, y: 1): 01, (x: 0, y: 0): 00, (x: 1, y: 0): 10, (x: 1, y: 1): 11}")
 
 block tableTest2:
   var t = newTable[string, float]()