mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
test_commit_email.rb: Clean up temporary files
This commit is contained in:
1 file changed
+6
@@ -29,6 +29,12 @@ class TestCommitEmail < Test::Unit::TestCase
|
||||
@commit_email = File.expand_path('../../tool/commit-email.rb', __dir__)
|
||||
end
|
||||
|
||||
def teardown
|
||||
File.unlink(@sendmail)
|
||||
Dir.rmdir(File.dirname(@sendmail))
|
||||
FileUtils.rm_rf(@ruby)
|
||||
end
|
||||
|
||||
def test_sendmail_encoding
|
||||
omit 'the sendmail script does not work on windows' if windows?
|
||||
|
||||
|
||||
Reference in new issue
Block a user