summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-20 17:10:11 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-20 17:15:02 +0900
commit0fad9a9e30d3dd362d9567284284206e1a476920 (patch)
tree233d5e77d8d3bf3b5bdf7f517a865d5fa6e43ef4 /test/irb
parent59b84fbf2ef38f1f7c93c526bdb64e382f3dd635 (diff)
Set non-verbose mode as well as tty mode
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_cmd.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 029dcbe..699c9cd 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -160,6 +160,7 @@ module TestIRB
PROMPT_N: '> '
}
}
+ IRB.conf[:VERBOSE] = false
IRB.conf[:PROMPT_MODE] = :DEFAULT
IRB.conf[:MEASURE] = false
input = TestInputMethod.new([
@@ -188,6 +189,7 @@ module TestIRB
PROMPT_N: '> '
}
}
+ IRB.conf[:VERBOSE] = false
IRB.conf[:PROMPT_MODE] = :DEFAULT
IRB.conf[:MEASURE] = true
input = TestInputMethod.new([
@@ -214,6 +216,7 @@ module TestIRB
PROMPT_N: '> '
}
}
+ IRB.conf[:VERBOSE] = false
IRB.conf[:PROMPT_MODE] = :DEFAULT
IRB.conf[:MEASURE] = true
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
@@ -247,6 +250,7 @@ module TestIRB
PROMPT_N: '> '
}
}
+ IRB.conf[:VERBOSE] = false
IRB.conf[:PROMPT_MODE] = :DEFAULT
IRB.conf[:MEASURE] = false
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|