diff options
Diffstat (limited to 'spec/ruby/core/proc/shared/dup.rb')
-rw-r--r-- | spec/ruby/core/proc/shared/dup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/proc/shared/dup.rb b/spec/ruby/core/proc/shared/dup.rb index fb6fff299d..eda1d6929d 100644 --- a/spec/ruby/core/proc/shared/dup.rb +++ b/spec/ruby/core/proc/shared/dup.rb @@ -1,6 +1,6 @@ describe :proc_dup, shared: true do it "returns a copy of self" do - a = lambda { "hello" } + a = -> { "hello" } b = a.send(@method) a.should_not equal(b) |