summaryrefslogtreecommitdiff
path: root/test/-ext-/integer/test_integer.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 02:10:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-06 02:10:40 +0000
commit489776e284a4543076592582a9d8b1615ceb1009 (patch)
treefea6af122d375b094c3aff58a38f3f3418590afa /test/-ext-/integer/test_integer.rb
parenteaaff62eb2569d8c1f3588a9f539e8780a4879bc (diff)
Rename RbConfig::Limits as RbConfig::LIMITS
* template/limits.c.tmpl (Init_limits): rename RbConfig::Limits as RbConfig::LIMITS, constants other than class or module are all uppercase with underscores by convention. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/integer/test_integer.rb')
-rw-r--r--test/-ext-/integer/test_integer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/-ext-/integer/test_integer.rb b/test/-ext-/integer/test_integer.rb
index 54f43f6..3202377 100644
--- a/test/-ext-/integer/test_integer.rb
+++ b/test/-ext-/integer/test_integer.rb
@@ -3,8 +3,8 @@ require 'test/unit'
require '-test-/integer'
class TestInteger < Test::Unit::TestCase
- FIXNUM_MIN = RbConfig::Limits['FIXNUM_MIN']
- FIXNUM_MAX = RbConfig::Limits['FIXNUM_MAX']
+ FIXNUM_MIN = RbConfig::LIMITS['FIXNUM_MIN']
+ FIXNUM_MAX = RbConfig::LIMITS['FIXNUM_MAX']
def test_fixnum_range
assert_bignum(FIXNUM_MIN-1)