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

ruby-changes:27442

From: nobu <ko1@a...>
Date: Mon, 25 Feb 2013 17:10:55 +0900 (JST)
Subject: [ruby-changes:27442] nobu:r39494 (trunk): test_string.rb: defer ENUMERATORS_WANTARRAY to next major

nobu	2013-02-25 17:10:44 +0900 (Mon, 25 Feb 2013)

  New Revision: 39494

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39494

  Log:
    test_string.rb: defer ENUMERATORS_WANTARRAY to next major
    
    * test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): defer
      new behavior to next major.

  Modified files:
    trunk/test/ruby/test_string.rb

Index: test/ruby/test_string.rb
===================================================================
--- test/ruby/test_string.rb	(revision 39493)
+++ test/ruby/test_string.rb	(revision 39494)
@@ -6,7 +6,7 @@ def pre_1_7_1 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_string.rb#L6
 end
 
 class TestString < Test::Unit::TestCase
-  ENUMERATOR_WANTARRAY = RUBY_VERSION >= "2.1.0"
+  ENUMERATOR_WANTARRAY = RUBY_VERSION >= "3.0.0"
 
   def initialize(*args)
     @cls = String

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

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