ruby-changes:25783
From: naruse <ko1@a...>
Date: Sun, 25 Nov 2012 16:40:08 +0900 (JST)
Subject: [ruby-changes:25783] naruse:r37840 (trunk): Fix test to follow r37838
naruse 2012-11-25 16:39:59 +0900 (Sun, 25 Nov 2012) New Revision: 37840 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37840 Log: Fix test to follow r37838 Modified files: trunk/test/ruby/test_lazy_enumerator.rb Index: test/ruby/test_lazy_enumerator.rb =================================================================== --- test/ruby/test_lazy_enumerator.rb (revision 37839) +++ test/ruby/test_lazy_enumerator.rb (revision 37840) @@ -302,8 +302,8 @@ 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)>", -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/