diff options
author | Stan Lo <stan.lo@shopify.com> | 2022-10-25 20:43:45 +0100 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-10-27 15:29:11 -0400 |
commit | b260c1e8c8a2b6c4cef944e3247ca743079478df (patch) | |
tree | 3411f7f8e530da391136001024aff783f2df5991 | |
parent | bb7067cbdfe1cf1b8bbd742e87f41c9707ddb2d2 (diff) | |
download | ruby-b260c1e8c8a2b6c4cef944e3247ca743079478df.tar.gz |
[ruby/irb] Remove unnecessary test setup
-rw-r--r-- | test/irb/test_cmd.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 2fe60a7ca8..ca081b65d5 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -414,10 +414,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 @@ -437,10 +435,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::TestHelper.without_rdoc do irb.eval_input |