aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-01-20 01:10:00 -0800
committergit <svn-admin@ruby-lang.org>2021-01-20 18:10:20 +0900
commitf4a556f4f1bf82f944ef576fdb3acd755e567368 (patch)
tree1348fa81ad86d14add55b29380a131fc66859023
parentcea6814c2cfae8ab8097ee90170baadc95dafcae (diff)
downloadruby-f4a556f4f1bf82f944ef576fdb3acd755e567368.tar.gz
[ruby/irb] Remove pp-specific stub from TestColor
because it was for TestColorPrinter https://github.com/ruby/irb/commit/7569206fd4
-rw-r--r--test/irb/test_color.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/irb/test_color.rb b/test/irb/test_color.rb
index ea689b3e29..9976008124 100644
--- a/test/irb/test_color.rb
+++ b/test/irb/test_color.rb
@@ -17,19 +17,6 @@ module TestIRB
MAGENTA = "\e[35m"
CYAN = "\e[36m"
- def setup
- @get_screen_size = Reline.method(:get_screen_size)
- Reline.instance_eval { undef :get_screen_size }
- def Reline.get_screen_size
- [36, 80]
- end
- end
-
- def teardown
- Reline.instance_eval { undef :get_screen_size }
- Reline.define_singleton_method(:get_screen_size, @get_screen_size)
- end
-
def test_colorize_code
# Common behaviors. Warn parser error, but do not warn compile error.
tests = {