diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-03 07:57:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-03 07:57:34 +0000 |
commit | e34fac64520e94a3efe2bfc62180ca90085360f5 (patch) | |
tree | a6cf4637f3bcf7a5a6c4a972817484fa415affca /test | |
parent | 36c89c484b791961c79a2a853a157140478526af (diff) | |
download | ruby-e34fac64520e94a3efe2bfc62180ca90085360f5.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_parse.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index 05fedb7ca6..d4ab596782 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -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 |