summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/irb/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/helper.rb b/test/irb/helper.rb
index 9002453bb8..ede48be649 100644
--- a/test/irb/helper.rb
+++ b/test/irb/helper.rb
@@ -113,6 +113,7 @@ module TestIRB
# Test should not depend on user's irbrc file
@envs["HOME"] ||= tmp_dir
@envs["XDG_CONFIG_HOME"] ||= tmp_dir
+ @envs["IRBRC"] = nil unless @envs.key?("IRBRC")
PTY.spawn(@envs.merge("TERM" => "dumb"), *cmd) do |read, write, pid|
Timeout.timeout(TIMEOUT_SEC) do