We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3512020 commit 905184fCopy full SHA for 905184f
test/irb/test_init.rb
@@ -274,7 +274,6 @@ def setup
274
@original_irbrc = ENV["IRBRC"]
275
# To prevent the test from using the user's .irbrc file
276
ENV["HOME"] = @home = Dir.mktmpdir
277
- IRB.instance_variable_set(:@existing_rc_name_generators, nil)
278
super
279
end
280
@@ -284,6 +283,7 @@ def teardown
284
283
ENV["HOME"] = @original_home
285
File.unlink(@irbrc)
286
Dir.rmdir(@home)
+ IRB.instance_variable_set(:@existing_rc_name_generators, nil)
287
288
289
def test_irb_name_converts_non_string_values_to_string
0 commit comments