aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/array/hash_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/hash_spec.rb')
-rw-r--r--spec/ruby/core/array/hash_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/array/hash_spec.rb b/spec/ruby/core/array/hash_spec.rb
index 638acff12b..8392253ae4 100644
--- a/spec/ruby/core/array/hash_spec.rb
+++ b/spec/ruby/core/array/hash_spec.rb
@@ -13,10 +13,10 @@ describe "Array#hash" do
it "properly handles recursive arrays" do
empty = ArraySpecs.empty_recursive_array
- lambda { empty.hash }.should_not raise_error
+ -> { empty.hash }.should_not raise_error
array = ArraySpecs.recursive_array
- lambda { array.hash }.should_not raise_error
+ -> { array.hash }.should_not raise_error
end
it "returns the same hash for equal recursive arrays" do