summaryrefslogtreecommitdiff
path: root/test/logger
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-09-22 11:22:04 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-04 20:16:00 +0900
commit6f14a30022e284398017b47d37f3f717f384f985 (patch)
tree01783fbc663f00cf8efedd0219ff3b2245715c23 /test/logger
parent60b57866ac64ef8a21951c7d5ff7b7f98e1ce15f (diff)
[ruby/logger] Consider cygwin a Windows platform
This should fix Ruby Bug 12468. https://github.com/ruby/logger/commit/49de53d1fc
Diffstat (limited to 'test/logger')
-rw-r--r--test/logger/test_logdevice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/logger/test_logdevice.rb b/test/logger/test_logdevice.rb
index 2a01dab17f..6fefd356cd 100644
--- a/test/logger/test_logdevice.rb
+++ b/test/logger/test_logdevice.rb
@@ -451,7 +451,7 @@ class TestLogDevice < Test::Unit::TestCase
end
ensure
logdev0.close
- end unless /mswin|mingw/ =~ RUBY_PLATFORM
+ end unless /mswin|mingw|cygwin/ =~ RUBY_PLATFORM
def test_shifting_midnight
Dir.mktmpdir do |tmpdir|