1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip irb/test_history on Windows too

This commit is contained in:
aycabta 2020-08-20 13:24:51 +09:00
parent 8a40e9b5a2
commit 6509652c13

View file

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