From 0cd92819c933ac3aea8eb173986b6478fcd1fbfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Summer=20=E2=98=80=EF=B8=8F?= <4400771+smmr0@users.noreply.github.com> Date: Sun, 20 Aug 2023 04:09:50 -0600 Subject: [ruby/irb] Remove unused `PROMPT_N` (https://github.com/ruby/irb/pull/685) https://github.com/ruby/irb/commit/66e69fa0dc --- test/irb/test_cmd.rb | 18 ++++++------------ test/irb/test_context.rb | 1 - test/irb/yamatanooroti/test_rendering.rb | 2 -- 3 files changed, 6 insertions(+), 15 deletions(-) (limited to 'test') diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 670078679f..e8c959ec39 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -211,8 +211,7 @@ module TestIRB DEFAULT: { PROMPT_I: '> ', PROMPT_S: '> ', - PROMPT_C: '> ', - PROMPT_N: '> ' + PROMPT_C: '> ' } }, PROMPT_MODE: :DEFAULT, @@ -241,8 +240,7 @@ module TestIRB DEFAULT: { PROMPT_I: '> ', PROMPT_S: '> ', - PROMPT_C: '> ', - PROMPT_N: '> ' + PROMPT_C: '> ' } }, PROMPT_MODE: :DEFAULT, @@ -269,8 +267,7 @@ module TestIRB DEFAULT: { PROMPT_I: '> ', PROMPT_S: '> ', - PROMPT_C: '> ', - PROMPT_N: '> ' + PROMPT_C: '> ' } }, PROMPT_MODE: :DEFAULT, @@ -300,8 +297,7 @@ module TestIRB DEFAULT: { PROMPT_I: '> ', PROMPT_S: '> ', - PROMPT_C: '> ', - PROMPT_N: '> ' + PROMPT_C: '> ' } }, PROMPT_MODE: :DEFAULT, @@ -331,8 +327,7 @@ module TestIRB DEFAULT: { PROMPT_I: '> ', PROMPT_S: '> ', - PROMPT_C: '> ', - PROMPT_N: '> ' + PROMPT_C: '> ' } }, PROMPT_MODE: :DEFAULT, @@ -358,8 +353,7 @@ module TestIRB DEFAULT: { PROMPT_I: '> ', PROMPT_S: '> ', - PROMPT_C: '> ', - PROMPT_N: '> ' + PROMPT_C: '> ' } }, PROMPT_MODE: :DEFAULT, diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index 5847df172e..29c67392f3 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -454,7 +454,6 @@ module TestIRB def test_default_return_format IRB.conf[:PROMPT][:MY_PROMPT] = { :PROMPT_I => "%03n> ", - :PROMPT_N => "%03n> ", :PROMPT_S => "%03n> ", :PROMPT_C => "%03n> " # without :RETURN diff --git a/test/irb/yamatanooroti/test_rendering.rb b/test/irb/yamatanooroti/test_rendering.rb index 3da3935c19..80833d0522 100644 --- a/test/irb/yamatanooroti/test_rendering.rb +++ b/test/irb/yamatanooroti/test_rendering.rb @@ -179,7 +179,6 @@ class IRB::RenderingTest < Yamatanooroti::TestCase write_irbrc <<~'LINES' IRB.conf[:PROMPT][:MY_PROMPT] = { :PROMPT_I => "%03n> ", - :PROMPT_N => "%03n> ", :PROMPT_S => "%03n> ", :PROMPT_C => "%03n> " } @@ -214,7 +213,6 @@ class IRB::RenderingTest < Yamatanooroti::TestCase write_irbrc <<~'LINES' IRB.conf[:PROMPT][:MY_PROMPT] = { :PROMPT_I => "%03n> ", - :PROMPT_N => "%03n> ", :PROMPT_S => "%03n> ", :PROMPT_C => "%03n> " } -- cgit v1.2.3