From 6509652c13f1fe79891a249fbacdb95c2214d1b1 Mon Sep 17 00:00:00 2001 From: aycabta Date: Thu, 20 Aug 2020 13:24:51 +0900 Subject: Skip irb/test_history on Windows too --- test/irb/test_history.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb index 0c7f78c3a4..3591f88f59 100644 --- a/test/irb/test_history.rb +++ b/test/irb/test_history.rb @@ -146,13 +146,8 @@ module TestIRB Tempfile.create("test_readline_stdin") do |stdin| Tempfile.create("test_readline_stdout") do |stdout| yield stdin, stdout - if /mswin|mingw/ =~ RUBY_PLATFORM - # needed since readline holds refs to tempfiles, can't delete on Windows - #Readline.input = STDIN - #Readline.output = STDOUT - end end end end end -end if not RUBY_PLATFORM.match?(/solaris/i) +end if not RUBY_PLATFORM.match?(/solaris|mswin|mingw/i) -- cgit v1.2.3