summary refs log tree commit diff stats
path: root/tests/collections/tapply.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/collections/tapply.nim')
-rw-r--r--tests/collections/tapply.nim6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/collections/tapply.nim b/tests/collections/tapply.nim
index 403321ce1..2b7464216 100644
--- a/tests/collections/tapply.nim
+++ b/tests/collections/tapply.nim
@@ -1,7 +1,11 @@
+discard """
+  output: '''true'''
+"""
+
 import sequtils
 
 var x = @[1, 2, 3]
 x.apply(proc(x: var int) = x = x+10)
 x.apply(proc(x: int): int = x+100)
 x.applyIt(it+5000)
-doAssert x == @[5111, 5112, 5113]
+echo x == @[5111, 5112, 5113]