1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

2.8 -> 3.0 in specs

This commit is contained in:
Benoit Daloze 2020-09-15 21:54:31 +02:00
parent 9b535f3ff7
commit 1af0319fc8
147 changed files with 199 additions and 201 deletions

View file

@ -32,7 +32,7 @@ ruby_version_is "2.7" do
}.should raise_error(SyntaxError, /numbered parameter is already used in.+ outer block here/m)
end
ruby_version_is '2.7'...'2.8' do
ruby_version_is '2.7'...'3.0' do
it "can be overwritten with local variable" do
suppress_warning do
eval <<~CODE
@ -49,7 +49,7 @@ ruby_version_is "2.7" do
end
end
ruby_version_is '2.8' do
ruby_version_is '3.0' do
it "cannot be overwritten with local variable" do
-> {
eval <<~CODE