mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 15:36:16 +02:00
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
This commit is contained in:
parent
eaaff62eb2
commit
489776e284
11 changed files with 19 additions and 15 deletions
|
@ -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 # '<=>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue