summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-08-20 13:24:51 +0900
committeraycabta <aycabta@gmail.com>2020-08-20 13:24:55 +0900
commit6509652c13f1fe79891a249fbacdb95c2214d1b1 (patch)
treef5f6baff6554190b962b9c6156a24d69dbf5c544
parent8a40e9b5a20314a509c8caaadce19a0b52680419 (diff)
Skip irb/test_history on Windows too
-rw-r--r--test/irb/test_history.rb7
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)