diff options
Diffstat (limited to 'tests/collections/tapply.nim')
-rw-r--r-- | tests/collections/tapply.nim | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/collections/tapply.nim b/tests/collections/tapply.nim deleted file mode 100644 index 2b7464216..000000000 --- a/tests/collections/tapply.nim +++ /dev/null @@ -1,11 +0,0 @@ -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) -echo x == @[5111, 5112, 5113] |