summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/irb/test_cmd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 044d852a32..5b63e56800 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -398,8 +398,8 @@ module TestIRB
])
IRB.init_config(nil)
workspace = IRB::WorkSpace.new(self)
- irb = IRB::Irb.new(workspace, input)
IRB.conf[:VERBOSE] = false
+ irb = IRB::Irb.new(workspace, input)
IRB.conf[:MAIN_CONTEXT] = irb.context
irb.context.return_format = "=> %s\n"
out, err = capture_output do