diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-29 10:06:02 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-29 10:06:02 +0900 |
| commit | c4e090def134f9b109991b74c027648564963763 (patch) | |
| tree | e01f54f73fa3216006fbda764d7b48581b1bd719 | |
| parent | f8a333ae193017999b38f6a4838582cc2c333063 (diff) | |
test_commit_email.rb: Clean up temporary files
| -rw-r--r-- | tool/test/test_commit_email.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/test/test_commit_email.rb b/tool/test/test_commit_email.rb index b948987ed9..988a26cc2e 100644 --- a/tool/test/test_commit_email.rb +++ b/tool/test/test_commit_email.rb @@ -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? |
