ruby-changes:62658
From: aycabta <ko1@a...>
Date: Thu, 20 Aug 2020 13:26:07 +0900 (JST)
Subject: [ruby-changes:62658] 6509652c13 (master): Skip irb/test_history on Windows too
https://git.ruby-lang.org/ruby.git/commit/?id=6509652c13 From 6509652c13f1fe79891a249fbacdb95c2214d1b1 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 20 Aug 2020 13:24:51 +0900 Subject: Skip irb/test_history on Windows too diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb index 0c7f78c..3591f88 100644 --- a/test/irb/test_history.rb +++ b/test/irb/test_history.rb @@ -146,13 +146,8 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_history.rb#L146 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) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/