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

ruby-changes:66543

From: aycabta <ko1@a...>
Date: Mon, 21 Jun 2021 22:28:48 +0900 (JST)
Subject: [ruby-changes:66543] 06d52249de (master): Call super method by teardown of tests of Reline as Readline

https://git.ruby-lang.org/ruby.git/commit/?id=06d52249de

From 06d52249de50cef381fc6579d7a55f5a86322664 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Mon, 21 Jun 2021 22:29:04 +0900
Subject: Call super method by teardown of tests of Reline as Readline

---
 test/readline/test_readline.rb         | 1 +
 test/readline/test_readline_history.rb | 1 +
 2 files changed, 2 insertions(+)

diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 1f491c5..59408c2 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -808,6 +808,7 @@ class TestRelineAsReadline < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L808
 
   def teardown
     finish_using_lib_reline
+    super
   end
 
   def get_default_internal_encoding
diff --git a/test/readline/test_readline_history.rb b/test/readline/test_readline_history.rb
index cbb5901..39ad4fe 100644
--- a/test/readline/test_readline_history.rb
+++ b/test/readline/test_readline_history.rb
@@ -279,6 +279,7 @@ class TestRelineAsReadlineHistory < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline_history.rb#L279
 
   def teardown
     finish_using_lib_reline
+    super
   end
 
   def get_default_internal_encoding
-- 
cgit v1.1


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

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