1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Discard RDOCOPT environment variable to make tests stable

This commit is contained in:
Nobuyoshi Nakada 2021-06-23 18:57:39 +09:00
parent 09e7a0c4a4
commit 298d65b1e4
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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