mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use Integer instead of Fixnum/Bignum
This commit is contained in:
parent
fb8f011422
commit
9c73c75624
144 changed files with 392 additions and 390 deletions
|
@ -10,7 +10,7 @@ describe "Integer#-@" do
|
|||
-8.send(:-@).should == 8
|
||||
end
|
||||
|
||||
it "negates self at Fixnum/Bignum boundaries" do
|
||||
it "negates self at Integer/Integer boundaries" do
|
||||
(-fixnum_max).should == (0 - fixnum_max)
|
||||
(-fixnum_max).should < 0
|
||||
(-fixnum_min).should == (0 - fixnum_min)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue