summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2022-10-25 20:43:45 +0100
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-26 13:04:03 -0800
commit148eb05ec138acec8f1b527a81ec498811bc311d (patch)
treea9910c72d386ebe651c7ef82f383cfbf2387b0e4 /test/irb
parent8038bf239af09b34f7a33a66d638cde416ba2893 (diff)
[ruby/irb] Remove unnecessary test setup
https://github.com/ruby/irb/commit/cc6e6d26b6
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_cmd.rb4
1 files changed, 0 insertions, 4 deletions
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