-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #598 from kostya/sort
sort tags
- Loading branch information
Showing
7 changed files
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,10 +1,3 @@ | |||
fails:Array#sort properly handles recursive arrays | fails:Array#sort properly handles recursive arrays | ||
fails:compares values returned by block with 0 | |||
fails:Array#sort! sorts array in place using block value if a block given | |||
fails:Array#sort! properly handles recursive arrays | |||
fails:Array#sort! does not call #<=> on contained objects when invoked with a block | |||
fails:Array#sort! does not call #<=> on elements when invoked with a block even if Array is large (Rubinius #412) | |||
fails:Array#sort! raises a RuntimeError on a frozen array | |||
fails:Array#sort sorts an array that has a value shifted off without a block | |||
fails:Array#sort sorts an array that has a value shifted off with a block | |||
fails:Array#sort compares values returned by block with 0 | fails:Array#sort compares values returned by block with 0 | ||
fails:Array#sort! properly handles recursive arrays |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1 @@ | |||
fails:Enumerable#sort_by returns an array of elements ordered by the result of block | |||
fails:Enumerable#sort_by sorts the object by the given attribute | |||
fails:Enumerable#sort_by returns an Enumerator when a block is not supplied | |||
fails:Enumerable#sort_by gathers whole arrays as elements when each yields multiple | fails:Enumerable#sort_by gathers whole arrays as elements when each yields multiple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,2 @@ | |||
fails:Enumerable#sort sorts by the natural order as defined by <=> | |||
fails:Enumerable#sort yields elements to the provided block | |||
fails:Enumerable#sort sorts enumerables that contain nils | |||
fails:Enumerable#sort compare values returned by block with 0 | fails:Enumerable#sort compare values returned by block with 0 | ||
fails:Enumerable#sort raises an error if objects can't be compared | |||
fails:Enumerable#sort gathers whole arrays as elements when each yields multiple | fails:Enumerable#sort gathers whole arrays as elements when each yields multiple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters