aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-25 08:10:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-25 08:10:44 +0000
commit9156a04d9186114f570a1ee8fe5059ec23e0b192 (patch)
treefca758bd257a4d224d047b11560a282326421bad /test/ruby/test_string.rb
parent246c3a0b7cba62ea55aead9c3040ee2c2c1dd55c (diff)
downloadruby-9156a04d9186114f570a1ee8fe5059ec23e0b192.tar.gz
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.rb2
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