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:
parent
36c89c484b
commit
e34fac6452
1 changed files with 1 additions and 7 deletions
|
@ -752,13 +752,7 @@ x = __ENCODING__
|
||||||
eval %q(1; next; 2)
|
eval %q(1; next; 2)
|
||||||
end
|
end
|
||||||
|
|
||||||
o = Object.new
|
assert_equal(13, $stderr.string.lines.to_a.size)
|
||||||
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)
|
|
||||||
$stderr = stderr
|
$stderr = stderr
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue