mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 04:54:23 +00:00
test_commit_email.rb: Clean up temporary files
This commit is contained in:
parent
f8a333ae19
commit
c4e090def1
@ -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?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user