Project

General

Profile

« Previous | Next » 

Revision c11f98ed

Added by nobu (Nobuyoshi Nakada) over 11 years ago

test/rdoc: avoid tempfile leaks

  • test/rdoc/test_rdoc_parser.rb (test_class_for_forbidden): avoid
    tempfile leaks by using Tempfile.create instead of
    Tempfile.open.
  • test/rdoc/test_rdoc_rd_block_parser.rb (test_parse_include_subtree):
    ditto.
  • test/rdoc/test_rdoc_rdoc.rb (test_parse_file_encoding): ditto.
  • test/rdoc/test_rdoc_rdoc.rb (test_parse_file_forbidden): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e