summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_cmd.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 9febcc8671..b5776ae01f 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -285,6 +285,7 @@ module TestIRB
"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 @@ module TestIRB
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 @@ module TestIRB
"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 @@ module TestIRB
assert_pattern_list([
/=> "bug17564"\n/,
/=> "bug17564"\n/,
- />> a = 'hi'\n/,
- /=> "hi"\n/,
- />> \n/,
- /=> nil\n/,
+ / => "hi"\n/,
+ / => nil\n/,
/=> "bug17564"\n/,
], out)
end