summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-11 08:44:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-11 08:44:41 +0000
commit8197abf9aada88fd46bd6898bee21449ace9efaf (patch)
treed408ec2891a3e0138cd7daef3a88149d37e24afc /spec/ruby
parentd03771d85a77fb85d17bb072618e78a910beb594 (diff)
Fix r66791
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/core/proc/block_pass_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/ruby/core/proc/block_pass_spec.rb b/spec/ruby/core/proc/block_pass_spec.rb
index 56d4f6ff3e..5ee06b7eea 100644
--- a/spec/ruby/core/proc/block_pass_spec.rb
+++ b/spec/ruby/core/proc/block_pass_spec.rb
@@ -28,7 +28,6 @@ ruby_version_is ""..."2.8" do
it "remains the same object if re-vivified by the target method" do
warning = ruby_version_is("2.7") {/tried to create Proc object without a block/}
- warning ||= ''
p = Proc.new {}
p2 = nil