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:
parent
8a40e9b5a2
commit
6509652c13
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue