aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/proc/to_proc_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/proc/to_proc_spec.rb')
-rw-r--r--spec/ruby/core/proc/to_proc_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/proc/to_proc_spec.rb b/spec/ruby/core/proc/to_proc_spec.rb
index 24e66760e4..ffaa34929b 100644
--- a/spec/ruby/core/proc/to_proc_spec.rb
+++ b/spec/ruby/core/proc/to_proc_spec.rb
@@ -2,7 +2,7 @@ require_relative '../../spec_helper'
describe "Proc#to_proc" do
it "returns self" do
- [Proc.new {}, lambda {}, proc {}].each { |p|
+ [Proc.new {}, -> {}, proc {}].each { |p|
p.to_proc.should equal(p)
}
end