diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-04 15:08:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-04 15:08:20 +0000 |
commit | d1683b59b07bddd337697bf0a8af8472844c6d41 (patch) | |
tree | f9975a0e4278143d7f1203d29cdea303522aeb23 /test/openssl | |
parent | cd2eb1f9ecd4d1b0d19113045c80529e7d3eac08 (diff) | |
download | ruby-d1683b59b07bddd337697bf0a8af8472844c6d41.tar.gz |
test_get_ephemeral_key: use assert_instance_of
* test/openssl/test_ssl.rb (test_get_ephemeral_key): should use
assert_instance_of instead of comparison of classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_ssl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index b3f5661e5c..b539f2498d 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -1183,7 +1183,7 @@ end ctx.ciphers = cipher server_connect(port, ctx) do |ssl| if ephemeral - assert_equal(ephemeral, ssl.tmp_key.class) + assert_instance_of(ephemeral, ssl.tmp_key) else assert_nil(ssl.tmp_key) end |