1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Spec: Fix spec/ruby/core/array/reject_spec.rb & misc

Patch by @MSP-Greg.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2018-10-16 22:42:37 +00:00
parent c312111c7c
commit bf6c9a5c6d
2 changed files with 8 additions and 9 deletions

View file

@ -13,15 +13,11 @@ module ArraySpecs
SampleCount = 1000
def self.frozen_array
frozen_array = [1,2,3]
frozen_array.freeze
frozen_array
[1,2,3].freeze
end
def self.empty_frozen_array
frozen_array = []
frozen_array.freeze
frozen_array
[].freeze
end
def self.recursive_array