Skip to content

Commit

Permalink
Skip irb/test_history on Windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Aug 20, 2020
1 parent 8a40e9b commit 6509652
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/irb/test_history.rb
Expand Up @@ -146,13 +146,8 @@ def with_temp_stdio
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)

0 comments on commit 6509652

Please sign in to comment.