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:
parent
9b535f3ff7
commit
1af0319fc8
147 changed files with 199 additions and 201 deletions
|
@ -39,8 +39,8 @@ ruby_version_is "2.6" do
|
|||
double = proc { |x| x + x }
|
||||
|
||||
(pow_2 << double).is_a?(Proc).should == true
|
||||
ruby_version_is(''...'2.8') { (pow_2 << double).should.lambda? }
|
||||
ruby_version_is('2.8') { (pow_2 << double).should_not.lambda? }
|
||||
ruby_version_is(''...'3.0') { (pow_2 << double).should.lambda? }
|
||||
ruby_version_is('3.0') { (pow_2 << double).should_not.lambda? }
|
||||
end
|
||||
|
||||
it "may accept multiple arguments" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue