diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 17:10:01 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 17:10:01 +0000 |
commit | 8399d9d65cc10a859be00712c43fba144e6dfffe (patch) | |
tree | 82449065256bd11cec89e5d44528a040d4c0c902 /test | |
parent | a9bd53085a928026806bf8af244532bfb6dd742f (diff) |
RbConfig::Limits is Ruby 2.5 feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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 641f4abffe..d7d1f11991 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 # '<=>' |