[前][次][番号順一覧][スレッド一覧]

ruby-changes:45859

From: naruse <ko1@a...>
Date: Mon, 13 Mar 2017 02:10:07 +0900 (JST)
Subject: [ruby-changes:45859] naruse:r57932 (ruby_2_4): RbConfig::Limits is Ruby 2.5 feature

naruse	2017-03-13 02:10:01 +0900 (Mon, 13 Mar 2017)

  New Revision: 57932

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57932

  Log:
    RbConfig::Limits is Ruby 2.5 feature

  Modified files:
    branches/ruby_2_4/test/ruby/test_string.rb
Index: ruby_2_4/test/ruby/test_string.rb
===================================================================
--- ruby_2_4/test/ruby/test_string.rb	(revision 57931)
+++ ruby_2_4/test/ruby/test_string.rb	(revision 57932)
@@ -203,7 +203,7 @@ CODE https://github.com/ruby/ruby/blob/trunk/ruby_2_4/test/ruby/test_string.rb#L203
 
     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 # '<=>'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]