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