mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Proc without block cannot be created anymore.
This triggers warning since Ruby 2.7 and is prohibited in Ruby 3.0.
This commit is contained in:
parent
5b952d69ec
commit
359c8e0d58
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
module Shindo
|
module Shindo
|
||||||
class Tests
|
class Tests
|
||||||
def succeeds
|
def succeeds(&block)
|
||||||
test('succeeds') do
|
test('succeeds') do
|
||||||
!instance_eval(&Proc.new).nil?
|
!instance_eval(&Proc.new(&block)).nil?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue