summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-09-30 21:35:30 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-09-30 21:35:30 +0200
commitddc131cf07972decc206e033b2dd85a42eb1c98d (patch)
tree91cdafb802ebef32fd1f4d8b8347409165dee463 /tests/stdlib
parentb2c358be96e496c37f4d02b0e886a06ed503af9e (diff)
downloadNim-ddc131cf07972decc206e033b2dd85a42eb1c98d.tar.gz
the parser finally parses 'echo {1,2}' as it should
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tmath2.nim2
-rw-r--r--tests/stdlib/trepr2.nim2
-rw-r--r--tests/stdlib/tstrset.nim6
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/stdlib/tmath2.nim b/tests/stdlib/tmath2.nim
index 84a49efa9..eb0506f5f 100644
--- a/tests/stdlib/tmath2.nim
+++ b/tests/stdlib/tmath2.nim
@@ -64,7 +64,7 @@ proc TestLoops() =
 
 var
   glob: int
-  a: array [0..5, int]
+  a: array[0..5, int]
 
 proc main() =
   #glob = 0
diff --git a/tests/stdlib/trepr2.nim b/tests/stdlib/trepr2.nim
index a92024851..300df565d 100644
--- a/tests/stdlib/trepr2.nim
+++ b/tests/stdlib/trepr2.nim
@@ -6,7 +6,7 @@ type
 
   TPoint {.final.} = object
     x, y, z: int
-    s: array [0..1, string]
+    s: array[0..1, string]
     e: TEnum
 
 var
diff --git a/tests/stdlib/tstrset.nim b/tests/stdlib/tstrset.nim
index 15024c3f1..1b253f862 100644
--- a/tests/stdlib/tstrset.nim
+++ b/tests/stdlib/tstrset.nim
@@ -7,10 +7,10 @@ type
     kind: TRadixNodeKind
   TRadixNodeLinear = object of TRadixNode
     len: int8
-    keys: array [0..31, char]
-    vals: array [0..31, PRadixNode]
+    keys: array[0..31, char]
+    vals: array[0..31, PRadixNode]
   TRadixNodeFull = object of TRadixNode
-    b: array [char, PRadixNode]
+    b: array[char, PRadixNode]
   TRadixNodeLeaf = object of TRadixNode
     s: string
   PRadixNodeLinear = ref TRadixNodeLinear