diff options
Diffstat (limited to 'test/rdoc/test_rdoc_parser_c.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_c.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/rdoc/test_rdoc_parser_c.rb b/test/rdoc/test_rdoc_parser_c.rb index a52018f37..fd750070d 100644 --- a/test/rdoc/test_rdoc_parser_c.rb +++ b/test/rdoc/test_rdoc_parser_c.rb @@ -18,10 +18,8 @@ class TestRdocParserC < Test::Unit::TestCase @top_level = RDoc::TopLevel.new filename @fn = filename - @options = RDoc::Options.new Hash.new - @stats = RDoc::Stats.new - - @progress = StringIO.new + @options = RDoc::Options.new + @stats = RDoc::Stats.new 0 end def teardown @@ -253,9 +251,7 @@ Init_Foo(void) { end def util_parser(content) - parser = RDoc::Parser::C.new @top_level, @fn, content, @options, @stats - parser.progress = @progress - parser + RDoc::Parser::C.new @top_level, @fn, content, @options, @stats end end |