Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-added max_by/min_by tags.
Browse files Browse the repository at this point in the history
These were lost by accident while resolving merge conflicts between the master
branch and the 2.2 branch.
Yorick Peterse committed Mar 12, 2015
1 parent 91a4402 commit 7362475
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/enumerable/max_by_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Enumerable#max_by when called with an argument n without a block returns an enumerator
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
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
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/enumerable/min_by_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Enumerable#min_by when called with an argument n without a block returns an enumerator
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
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 comments on commit 7362475

Please sign in to comment.