From 8399d9d65cc10a859be00712c43fba144e6dfffe Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 12 Mar 2017 17:10:01 +0000 Subject: [PATCH] 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 --- test/ruby/test_string.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 # '<=>'