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
|
@ -36,7 +36,7 @@ describe "Integer#div" do
|
|||
10.div(y).should == result
|
||||
end
|
||||
|
||||
it "coerces self and the given argument to Floats and returns self divided by other as Fixnum" do
|
||||
it "coerces self and the given argument to Floats and returns self divided by other as Integer" do
|
||||
1.div(0.2).should == 5
|
||||
1.div(0.16).should == 6
|
||||
1.div(0.169).should == 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue