diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-25 08:10:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-25 08:10:44 +0000 |
commit | 9156a04d9186114f570a1ee8fe5059ec23e0b192 (patch) | |
tree | fca758bd257a4d224d047b11560a282326421bad /test/ruby/test_string.rb | |
parent | 246c3a0b7cba62ea55aead9c3040ee2c2c1dd55c (diff) |
test_string.rb: defer ENUMERATORS_WANTARRAY to next major
* test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): defer
new behavior to next major.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
-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 1dd09d9081..4e55198a15 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -6,7 +6,7 @@ def pre_1_7_1 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 |