[前][次][番号順一覧][スレッド一覧]

ruby-changes:64378

From: aycabta <ko1@a...>
Date: Sun, 20 Dec 2020 16:50:04 +0900 (JST)
Subject: [ruby-changes:64378] 216a087e93 (master): Suppress errors related to using variables that are not directly related to testing

https://git.ruby-lang.org/ruby.git/commit/?id=216a087e93

From 216a087e9351132b83110e0f7aad81d796371bdd Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sun, 20 Dec 2020 16:48:47 +0900
Subject: Suppress errors related to using variables that are not directly
 related to testing


diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 6ecb5f3..81d9b72 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -158,7 +158,11 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L158
           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 https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L189
           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 https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L218
           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 https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L254
           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|
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]