diff --git a/test/rdoc/test_rdoc_parser.rb b/test/rdoc/test_rdoc_parser.rb index a19986bd26..fa6443f3d3 100644 --- a/test/rdoc/test_rdoc_parser.rb +++ b/test/rdoc/test_rdoc_parser.rb @@ -147,6 +147,8 @@ class TestRDocParser < RDoc::TestCase end assert_equal RDoc::Parser::Simple, @RP.can_parse(readme_ext) + ensure + File.unlink readme_ext end def test_can_parse_modeline_c @@ -163,7 +165,6 @@ class TestRDocParser < RDoc::TestCase File.unlink readme_inc end - ## # Selenium hides a .jar file using a .txt extension.