diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-07 03:24:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-07 03:24:08 +0000 |
commit | 65b87de350e36eaba77ab2db30b5cfbaf19f61b0 (patch) | |
tree | 8183de0474cdb8ccc1aa3854c3a400490cf03dc0 /test/openssl | |
parent | 0f25c6d7d59ff9744d1ca5dc908cc12c8ce79e25 (diff) | |
download | ruby-65b87de350e36eaba77ab2db30b5cfbaf19f61b0.tar.gz |
ruby.h: unnormalized Fixnum value
* include/ruby/ruby.h (ST2FIX): fix unnormalized Fixnum value bug
on mingw/mswin. [ruby-core:82687] [Bug #13877]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_bn.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/openssl/test_bn.rb b/test/openssl/test_bn.rb index 7739028611..274afba3bb 100644 --- a/test/openssl/test_bn.rb +++ b/test/openssl/test_bn.rb @@ -270,6 +270,7 @@ class OpenSSL::TestBN < OpenSSL::TestCase assert_equal(1, @e1.cmp(-999)) assert_equal(0, @e1.ucmp(999)) assert_equal(0, @e1.ucmp(-999)) + assert_instance_of(String, @e1.hash.to_s) end end |