summary refs log tree commit diff stats
path: root/tests/niminaction/Chapter2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/niminaction/Chapter2')
-rw-r--r--tests/niminaction/Chapter2/various2.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/niminaction/Chapter2/various2.nim b/tests/niminaction/Chapter2/various2.nim
index 3f6a3f453..dddbdb472 100644
--- a/tests/niminaction/Chapter2/various2.nim
+++ b/tests/niminaction/Chapter2/various2.nim
@@ -202,7 +202,7 @@ block:
 
 block:
   let list = @[4, 8, 15, 16, 23, 42]
-  for i in 0 .. <list.len:
+  for i in 0 ..< list.len:
     stdout.write($list[i] & " ")
 
 var collection: set[int16]
@@ -366,4 +366,4 @@ block:
     Color {.pure.} = enum
       red, green, blue
 
-  let color = Color.red
\ No newline at end of file
+  let color = Color.red