aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/proc/hash_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/proc/hash_spec.rb')
-rw-r--r--spec/ruby/core/proc/hash_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/proc/hash_spec.rb b/spec/ruby/core/proc/hash_spec.rb
index 5993ad5098..d780c1ceb0 100644
--- a/spec/ruby/core/proc/hash_spec.rb
+++ b/spec/ruby/core/proc/hash_spec.rb
@@ -3,7 +3,7 @@ require_relative '../../spec_helper'
describe "Proc#hash" do
it "is provided" do
proc {}.respond_to?(:hash).should be_true
- lambda {}.respond_to?(:hash).should be_true
+ -> {}.respond_to?(:hash).should be_true
end
it "returns an Integer" do