diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lists.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lists.tm b/test/lists.tm index 71e107ef..6281532c 100644 --- a/test/lists.tm +++ b/test/lists.tm @@ -168,9 +168,9 @@ func main() >> ["a", "b", "c"].find("XXX") = none - >> [10, 20].first(func(i:&Int) i.is_prime()) + >> [10, 20].where(func(i:&Int) i.is_prime()) = none - >> [4, 5, 6].first(func(i:&Int) i.is_prime()) + >> [4, 5, 6].where(func(i:&Int) i.is_prime()) = 2? do |
