diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-06 02:10:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-06 02:10:40 +0000 |
commit | 10a9f14d00add45b3f7b3b17f21ba87b6f187f6d (patch) | |
tree | fea6af122d375b094c3aff58a38f3f3418590afa /test/ruby/test_string.rb | |
parent | 1c65eb6d502ee79176fb821b2abe644ecf81a300 (diff) | |
download | ruby-10a9f14d00add45b3f7b3b17f21ba87b6f187f6d.tar.gz |
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/ruby/test_string.rb')
-rw-r--r-- | test/ruby/test_string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index 7dbf27e552..0bfca5ad05 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -203,7 +203,7 @@ CODE assert_raise(ArgumentError) { "foo"[1, 2, 3] = "" } - assert_raise(IndexError) {"foo"[RbConfig::Limits["LONG_MIN"]] = "l"} + assert_raise(IndexError) {"foo"[RbConfig::LIMITS["LONG_MIN"]] = "l"} end def test_CMP # '<=>' |