mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Drop support for ruby 2.4 from ruby/spec
This commit is contained in:
parent
3a2073e61b
commit
826f44834f
Notes:
git
2020-04-01 15:36:48 +09:00
145 changed files with 2343 additions and 3347 deletions
|
@ -51,21 +51,19 @@ describe "Kernel#freeze" do
|
|||
end
|
||||
end
|
||||
|
||||
ruby_version_is "2.5" do
|
||||
describe "on a Complex" do
|
||||
it "has no effect since it is already frozen" do
|
||||
c = Complex(1.3, 3.1)
|
||||
c.frozen?.should be_true
|
||||
c.freeze
|
||||
end
|
||||
describe "on a Complex" do
|
||||
it "has no effect since it is already frozen" do
|
||||
c = Complex(1.3, 3.1)
|
||||
c.frozen?.should be_true
|
||||
c.freeze
|
||||
end
|
||||
end
|
||||
|
||||
describe "on a Rational" do
|
||||
it "has no effect since it is already frozen" do
|
||||
r = Rational(1, 3)
|
||||
r.frozen?.should be_true
|
||||
r.freeze
|
||||
end
|
||||
describe "on a Rational" do
|
||||
it "has no effect since it is already frozen" do
|
||||
r = Rational(1, 3)
|
||||
r.frozen?.should be_true
|
||||
r.freeze
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue