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
|
@ -3,8 +3,8 @@ require 'matrix'
|
|||
|
||||
describe "Matrix#hash" do
|
||||
|
||||
it "returns a Fixnum" do
|
||||
Matrix[ [1,2] ].hash.should be_an_instance_of(Fixnum)
|
||||
it "returns an Integer" do
|
||||
Matrix[ [1,2] ].hash.should be_an_instance_of(Integer)
|
||||
end
|
||||
|
||||
it "returns the same value for the same matrix" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue