diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-25 07:39:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-25 07:39:59 +0000 |
commit | 1ab73afbf9a6d6ae72b02674fa1b253469f1bf36 (patch) | |
tree | c3ae0b0ad689e8c6332b94dbbc0d8dae74958ce8 /test | |
parent | e58d0bd393ccd114c54bc7857feff281c4643a65 (diff) | |
download | ruby-1ab73afbf9a6d6ae72b02674fa1b253469f1bf36.tar.gz |
Fix test to follow r37838
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_lazy_enumerator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_lazy_enumerator.rb b/test/ruby/test_lazy_enumerator.rb index b34bb033d5..5443bd0a3b 100644 --- a/test/ruby/test_lazy_enumerator.rb +++ b/test/ruby/test_lazy_enumerator.rb @@ -302,8 +302,8 @@ class TestLazyEnumerator < Test::Unit::TestCase assert_equal("#<Enumerator::Lazy: 1..10:cycle(2)>", Enumerator::Lazy.new(1..10, :cycle, 2).inspect) assert_equal("#<Enumerator::Lazy: 1..10>", (1..10).lazy.inspect) - assert_equal('#<Enumerator::Lazy: #<Enumerator: "foo":chars>>', - "foo".chars.lazy.inspect) + assert_equal('#<Enumerator::Lazy: #<Enumerator: "foo":each_char>>', + "foo".each_char.lazy.inspect) assert_equal("#<Enumerator::Lazy: #<Enumerator::Lazy: 1..10>:map>", (1..10).lazy.map {}.inspect) assert_equal("#<Enumerator::Lazy: #<Enumerator::Lazy: 1..10>:take(0)>", |