Skip to content

Commit d0f098b

Browse files
committed
use pend instead of skip
1 parent c9617a6 commit d0f098b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/test_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def teardown
2323
def test_constants
2424
assert(defined?(OpenSSL::Config::DEFAULT_CONFIG_FILE))
2525
config_file = OpenSSL::Config::DEFAULT_CONFIG_FILE
26-
skip "DEFAULT_CONFIG_FILE may return a wrong path on your platforms. [Bug #6830]" unless File.readable?(config_file)
26+
pend "DEFAULT_CONFIG_FILE may return a wrong path on your platforms. [Bug #6830]" unless File.readable?(config_file)
2727
assert_nothing_raised do
2828
OpenSSL::Config.load(config_file)
2929
end

test/test_ssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_ctx_setup_no_compression
2020
end if defined?(OpenSSL::SSL::OP_NO_COMPRESSION)
2121

2222
def test_not_started_session
23-
skip "non socket argument of SSLSocket.new is not supported on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
23+
pend "non socket argument of SSLSocket.new is not supported on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
2424
open(__FILE__) do |f|
2525
assert_nil OpenSSL::SSL::SSLSocket.new(f).cert
2626
end

test/test_x509req.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def test_sign_and_verify_rsa_dss1
138138
req.version = 1
139139
assert_equal(false, req.verify(@rsa1024))
140140
rescue OpenSSL::X509::RequestError
141-
skip
141+
pend
142142
end
143143

144144
def test_sign_and_verify_dsa_md5

0 commit comments

Comments
 (0)