From 148eb05ec138acec8f1b527a81ec498811bc311d Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 25 Oct 2022 20:43:45 +0100 Subject: [ruby/irb] Remove unnecessary test setup https://github.com/ruby/irb/commit/cc6e6d26b6 --- test/irb/test_cmd.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/irb') diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index a58cb3e8a5..fa04b60f9f 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -382,10 +382,8 @@ module TestIRB "help 'String#gsub'\n", "\n", ]) - IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :SIMPLE irb = IRB::Irb.new(IRB::WorkSpace.new(self), input) - IRB.conf[:MAIN_CONTEXT] = irb.context out, err = capture_output do irb.eval_input end @@ -408,10 +406,8 @@ module TestIRB "help 'String#gsub'\n", "\n", ]) - IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :SIMPLE irb = IRB::Irb.new(IRB::WorkSpace.new(self), input) - IRB.conf[:MAIN_CONTEXT] = irb.context out, err = capture_output do without_rdoc do irb.eval_input -- cgit v1.2.1