From e34fac64520e94a3efe2bfc62180ca90085360f5 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 3 Aug 2013 07:57:34 +0000 Subject: 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 --- test/ruby/test_parse.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test') 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 -- cgit v1.2.3