Skip to content

Commit 7362475

Browse files
author
Yorick Peterse
committed
Re-added max_by/min_by tags.
These were lost by accident while resolving merge conflicts between the master branch and the 2.2 branch.
1 parent 91a4402 commit 7362475

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Enumerable#max_by when called with an argument n without a block returns an enumerator
2+
fails:Enumerable#max_by when called with an argument n with a block returns an array containing the maximum n elements based on the block's value
3+
fails:Enumerable#max_by when called with an argument n with a block on a enumerable of length x where x < n returns an array containing the maximum n elements of length n
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Enumerable#min_by when called with an argument n without a block returns an enumerator
2+
fails:Enumerable#min_by when called with an argument n with a block returns an array containing the minimum n elements based on the block's value
3+
fails:Enumerable#min_by when called with an argument n with a block on a enumerable of length x where x < n returns an array containing the minimum n elements of length n

0 commit comments

Comments
 (0)