summary refs log tree commit diff stats
diff options
context:
space:
mode:
authornarimiran <narimiran@disroot.org>2019-05-27 21:41:24 +0200
committernarimiran <narimiran@disroot.org>2019-05-27 21:41:24 +0200
commit0fc42fc4f702a719c8203f525e9bfbb3163a6c32 (patch)
tree7d4a9c828bc396809f2497d4b060074397d1f8b1
parent2b0ea6b2ae7e6450123356b67d1fb42234d1bba5 (diff)
downloadNim-0fc42fc4f702a719c8203f525e9bfbb3163a6c32.tar.gz
tableinstatic test: make it arch-independed
-rw-r--r--tests/vm/tableinstatic.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/vm/tableinstatic.nim b/tests/vm/tableinstatic.nim
index b0d24b477..54dbab50f 100644
--- a/tests/vm/tableinstatic.nim
+++ b/tests/vm/tableinstatic.nim
@@ -2,7 +2,6 @@ discard """
   nimout: '''0
 0
 0
-{"hallo": "123", "welt": "456"}'''
 """
 
 import tables
@@ -35,4 +34,4 @@ static:
   otherTable["hallo"] = "123"
   otherTable["welt"]  = "456"
 
-  echo otherTable
+  assert otherTable == {"hallo": "123", "welt": "456"}.newTable