diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-02-22 10:13:38 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-02-22 01:18:26 +0000 |
commit | fc59b587156e7ab80b6d5c8cd6708041c6da0dc8 (patch) | |
tree | ec791274355b40e8ea285fee8bd4e6920320b8ff /test/readline | |
parent | 088919065e7142870650ec2ecbf304e3eab5eb27 (diff) | |
download | ruby-fc59b587156e7ab80b6d5c8cd6708041c6da0dc8.tar.gz |
[ruby/readline-ext] test_readline.rb only needs EnvUtil
https://github.com/ruby/readline-ext/commit/9245965ecd
Diffstat (limited to 'test/readline')
-rw-r--r-- | test/readline/helper.rb | 4 | ||||
-rw-r--r-- | test/readline/test_readline.rb | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/test/readline/helper.rb b/test/readline/helper.rb index 2af0402afc..72c913a860 100644 --- a/test/readline/helper.rb +++ b/test/readline/helper.rb @@ -1,8 +1,6 @@ begin # for standalone test suite on ruby/logger - require 'test/unit' - require_relative '../lib/core_assertions' - Test::Unit::TestCase.include Test::Unit::CoreAssertions + require_relative '../lib/envutil' rescue LoadError end diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 9c3189a09b..abbb527416 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -485,7 +485,6 @@ module BasetestReadline # TODO Green CI for arm32-linux (Travis CI), and Readline 7.0. def test_interrupt_in_other_thread - omit "Skip macOS platform" if RUBY_PLATFORM =~ /darwin/ # Editline and Readline 7.0 can't treat I/O that is not tty. omit "Skip Editline" if /EditLine/n.match(Readline::VERSION) omit "Skip Readline 7.0" if Readline::VERSION == "7.0" @@ -837,7 +836,6 @@ module BasetestReadline end def test_without_tty - omit "Skip macOS platform" if RUBY_PLATFORM =~ /darwin/ omit "Skip Editline" if /EditLine/n.match(Readline::VERSION) loader = nil if defined?(TestReadline) && self.class == TestReadline |