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 | b30e3451bccacf6496f30086d4827a595377afe7 (patch) | |
tree | f9975a0e4278143d7f1203d29cdea303522aeb23 /test/openssl | |
parent | 6fd07455085361df6786b34b3d72c1063ebd2cc0 (diff) | |
download | ruby-b30e3451bccacf6496f30086d4827a595377afe7.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 |