diff options
author | aycabta <[email protected]> | 2020-12-20 16:48:47 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2020-12-20 16:48:47 +0900 |
commit | 216a087e9351132b83110e0f7aad81d796371bdd (patch) | |
tree | a195f8b3412a36e34e8d78001d14886586d1adb2 /test | |
parent | 24fcbc92b44d44bccf28d9375201162e627bb4ec (diff) |
Suppress errors related to using variables that are not directly related to testing
Diffstat (limited to 'test')
-rw-r--r-- | test/irb/test_cmd.rb | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 6ecb5f322b..81d9b721ea 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -158,7 +158,11 @@ module TestIRB PROMPT_S: '> ', PROMPT_C: '> ', PROMPT_N: '> ' - } + }, + PROMPT_I: '> ', + PROMPT_S: '> ', + PROMPT_C: '> ', + PROMPT_N: '> ' } IRB.conf[:MEASURE] = false input = TestInputMethod.new([ @@ -185,7 +189,11 @@ module TestIRB PROMPT_S: '> ', PROMPT_C: '> ', PROMPT_N: '> ' - } + }, + PROMPT_I: '> ', + PROMPT_S: '> ', + PROMPT_C: '> ', + PROMPT_N: '> ' } IRB.conf[:MEASURE] = true input = TestInputMethod.new([ @@ -210,7 +218,11 @@ module TestIRB PROMPT_S: '> ', PROMPT_C: '> ', PROMPT_N: '> ' - } + }, + PROMPT_I: '> ', + PROMPT_S: '> ', + PROMPT_C: '> ', + PROMPT_N: '> ' } IRB.conf[:MEASURE] = true IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block| @@ -242,7 +254,11 @@ module TestIRB PROMPT_S: '> ', PROMPT_C: '> ', PROMPT_N: '> ' - } + }, + PROMPT_I: '> ', + PROMPT_S: '> ', + PROMPT_C: '> ', + PROMPT_N: '> ' } IRB.conf[:MEASURE] = false IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block| |