diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-04-25 00:19:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-04-25 02:49:35 +0900 |
commit | ae235db25d6d6437862d4823d053d42702d1a07a (patch) | |
tree | ea6bf0e55c9f951e000fbc5a9f2b2db8690a2858 /test/rdoc/test_rdoc_ri_driver.rb | |
parent | cf5b3d6798509631b7b4dd72ff3d5dedc68c0d25 (diff) |
[ruby/rdoc] Should teardown in reverse order of setup
https://github.com/ruby/rdoc/commit/00fb4dd2a3
Diffstat (limited to 'test/rdoc/test_rdoc_ri_driver.rb')
-rw-r--r-- | test/rdoc/test_rdoc_ri_driver.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_ri_driver.rb b/test/rdoc/test_rdoc_ri_driver.rb index 1a8ac3dde5..e62323338b 100644 --- a/test/rdoc/test_rdoc_ri_driver.rb +++ b/test/rdoc/test_rdoc_ri_driver.rb @@ -33,11 +33,11 @@ class TestRDocRIDriver < RDoc::TestCase end def teardown - super - ENV['HOME'] = @orig_home ENV['RI'] = @orig_ri FileUtils.rm_rf @tmpdir + + super end DUMMY_PAGER = ":;\n" |