mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
support older BASERUBY for btest.
* bootstraptest/test_insns.rb: check RbConfig::LIMITS to support older BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c55a0b942
commit
b4ab9c0e32
1 changed files with 4 additions and 2 deletions
|
@ -10,8 +10,10 @@ begin
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
# OK, just skip
|
# OK, just skip
|
||||||
else
|
else
|
||||||
$FIXNUM_MAX = RbConfig::LIMITS["FIXNUM_MAX"]
|
if defined? RbConfig::LIMITS
|
||||||
$FIXNUM_MIN = RbConfig::LIMITS["FIXNUM_MIN"]
|
$FIXNUM_MAX = RbConfig::LIMITS["FIXNUM_MAX"]
|
||||||
|
$FIXNUM_MIN = RbConfig::LIMITS["FIXNUM_MIN"]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
fsl = { frozen_string_literal: true } # used later
|
fsl = { frozen_string_literal: true } # used later
|
||||||
|
|
Loading…
Reference in a new issue