diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 9febcc867..b5776ae01 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -285,6 +285,7 @@ def test_irb_source "irb_source '#{@tmpdir}/a.rb'\n", "a\n", ]) + IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :SIMPLE irb = IRB::Irb.new(IRB::WorkSpace.new, input) IRB.conf[:MAIN_CONTEXT] = irb.context @@ -295,10 +296,8 @@ def test_irb_source assert_pattern_list([ /=> "bug17564"\n/, /=> "bug17564"\n/, - />> a = 'hi'\n/, - /=> "hi"\n/, - />> \n/, - /=> nil\n/, + / => "hi"\n/, + / => nil\n/, /=> "hi"\n/, ], out) end @@ -312,6 +311,7 @@ def test_irb_load "irb_load '#{@tmpdir}/a.rb'\n", "a\n", ]) + IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :SIMPLE irb = IRB::Irb.new(IRB::WorkSpace.new, input) IRB.conf[:MAIN_CONTEXT] = irb.context @@ -322,10 +322,8 @@ def test_irb_load assert_pattern_list([ /=> "bug17564"\n/, /=> "bug17564"\n/, - />> a = 'hi'\n/, - /=> "hi"\n/, - />> \n/, - /=> nil\n/, + / => "hi"\n/, + / => nil\n/, /=> "bug17564"\n/, ], out) end