Skip to content

Commit

Permalink
Add some more array specs
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 29, 2013
1 parent 7ba96ab commit 19898aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/filters/bugs/array.rb
Expand Up @@ -230,4 +230,8 @@
fails "Array#initialize_copy returns self"
fails "Array#initialize_copy properly handles recursive arrays"
fails "Array#initialize_copy replaces the elements with elements from other array"

fails "Array#partition properly handles recursive arrays"
fails "Array#partition returns in the left array values for which the block evaluates to true"
fails "Array#partition returns two arrays"
end
1 change: 1 addition & 0 deletions spec/filters/unsupported/array_subclasses.rb
Expand Up @@ -33,4 +33,5 @@
fails "Array#[] with a subclass of Array returns a subclass instance with [-n...-m]"
fails "Array.[] with a subclass of Array returns an instance of the subclass"
fails "Array#initialize_copy does not call #to_ary on Array subclasses"
fails "Array#partition does not return subclass instances on Array subclasses"
end
1 change: 1 addition & 0 deletions spec/rubyspecs
Expand Up @@ -52,6 +52,7 @@ core/array/minus_spec
core/array/multiply_spec
core/array/new_spec
core/array/nitems_spec
core/array/partition_spec
core/array/plus_spec
core/array/pop_spec
core/array/push_spec
Expand Down

0 comments on commit 19898aa

Please sign in to comment.