mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
0f25c6d7d5
commit
65b87de350
8 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue