This commit is contained in:
Araq
2015-09-08 20:32:40 +02:00
parent 55e479657a
commit d5c5fd425f
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
discard """
output: '''@[a, c]'''
"""
# bug #3230
import sequtils
const
test_strings = ["a", "b", "c"]
proc is_doc(x: string): bool = x == "b"
let
tests = @test_strings.filter_it(not it.is_doc)
echo tests