diff options
author | aycabta <aycabta@gmail.com> | 2020-08-20 13:24:51 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-08-20 13:24:55 +0900 |
commit | 6509652c13f1fe79891a249fbacdb95c2214d1b1 (patch) | |
tree | f5f6baff6554190b962b9c6156a24d69dbf5c544 /test/irb/test_history.rb | |
parent | 8a40e9b5a20314a509c8caaadce19a0b52680419 (diff) | |
download | ruby-6509652c13f1fe79891a249fbacdb95c2214d1b1.tar.gz |
Skip irb/test_history on Windows too
Diffstat (limited to 'test/irb/test_history.rb')
-rw-r--r-- | test/irb/test_history.rb | 7 |
1 files changed, 1 insertions, 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) |