Skip irb/test_history on Windows too

This commit is contained in:
aycabta 2020-08-20 13:24:51 +09:00
Родитель 8a40e9b5a2
Коммит 6509652c13
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -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)