diff options
-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 |