previous change refined.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-11-22 01:36:13 +00:00
parent 6ed29c55ef
commit cca64ecb9a

View File

@ -81,8 +81,7 @@ assert_equal 'ok', %q{
end end
vs1 = [] vs1 = []
C.new.each {|*v| vs1 << v } C.new.each {|*v| vs1 << v }
e = C.new.to_enum
vs2 = [] vs2 = []
e.each {|*v| vs2 << v } C.new.to_enum.each {|*v| vs2 << v }
vs1 == vs2 ? :ok : :ng vs1 == vs2 ? :ok : :ng
}, '[ruby-dev:32329]' }, '[ruby-dev:32329]'