1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix test failure to follow r42347 ref #3753

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-08-03 07:57:34 +00:00
parent 36c89c484b
commit e34fac6452

View file

@ -752,13 +752,7 @@ x = __ENCODING__
eval %q(1; next; 2)
end
o = Object.new
assert_nothing_raised do
eval <<-END, nil, __FILE__, __LINE__+1
x = def o.foo; end
END
end
assert_equal(14, $stderr.string.lines.to_a.size)
assert_equal(13, $stderr.string.lines.to_a.size)
$stderr = stderr
end