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

Fix RUBY_REVISION spec

broken by 5da52d1210
This commit is contained in:
Takashi Kokubun 2019-04-22 22:00:33 +09:00
parent 87261cf59f
commit 4cd67a848a
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -43,7 +43,15 @@ describe "RUBY_RELEASE_DATE" do
end
describe "RUBY_REVISION" do
it "is a Fixnum" do
RUBY_REVISION.should be_kind_of(Fixnum)
ruby_version_is "".."2.6" do
it "is an Integer" do
RUBY_REVISION.should be_kind_of(Fixnum)
end
end
ruby_version_is "2.7" do
it "is a String" do
RUBY_REVISION.should be_kind_of(String)
end
end
end