From 489776e284a4543076592582a9d8b1615ceb1009 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 6 Apr 2017 02:10:40 +0000 Subject: 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 --- test/ruby/test_bignum.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby/test_bignum.rb') diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index 4cdf86d6d4..e680d28735 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -6,8 +6,8 @@ rescue LoadError else class TestBignum < 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'] BIGNUM_MIN = FIXNUM_MAX + 1 b = BIGNUM_MIN -- cgit v1.2.3