From 0683912db888b0421ce4c40ad450ccf75ad7e3f4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 17 Nov 2020 17:06:06 +0900 Subject: [PATCH] Skip tests related TLS with Windows platform. --- test/net/smtp/test_sslcontext.rb | 2 +- test/net/smtp/test_starttls.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/net/smtp/test_sslcontext.rb b/test/net/smtp/test_sslcontext.rb index f3f3b347ad..80afc1338e 100644 --- a/test/net/smtp/test_sslcontext.rb +++ b/test/net/smtp/test_sslcontext.rb @@ -125,4 +125,4 @@ module Net end end -end +end unless /mswin|mingw/ =~ RUBY_PLATFORM diff --git a/test/net/smtp/test_starttls.rb b/test/net/smtp/test_starttls.rb index 98835c952a..2c812aea67 100644 --- a/test/net/smtp/test_starttls.rb +++ b/test/net/smtp/test_starttls.rb @@ -118,4 +118,4 @@ module Net assert_nothing_raised { smtp.enable_starttls_auto } end end -end +end unless /mswin|mingw/ =~ RUBY_PLATFORM