summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-23 18:57:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-23 18:57:39 +0900
commit298d65b1e4f3019af7fc9b905390b56736f5fd0e (patch)
tree2d6e5b3bfe532f67e76a6c5c6bf0cfc004930703 /test/rdoc
parent09e7a0c4a4fba18e3308e4f8cb4b8b5b52b41d20 (diff)
Discard RDOCOPT environment variable to make tests stable
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb
index f5177e4a8c..fb8dbd1fea 100644
--- a/test/rdoc/test_rdoc_rubygems_hook.rb
+++ b/test/rdoc/test_rdoc_rubygems_hook.rb
@@ -25,6 +25,7 @@ class TestRDocRubygemsHook < Test::Unit::TestCase
SOURCE_DATE_EPOCH
BUNDLER_VERSION
HOME
+ RDOCOPT
].map {|e| [e, ENV.delete(e)]}.to_h
ENV["HOME"] = @tempdir