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
|
@ -23,7 +23,7 @@ describe "Digest.bubblebabble" do
|
|||
-> { Digest.bubblebabble(nil) }.should raise_error(TypeError)
|
||||
end
|
||||
|
||||
it "raises a TypeError when passed a Fixnum" do
|
||||
it "raises a TypeError when passed an Integer" do
|
||||
-> { Digest.bubblebabble(9001) }.should raise_error(TypeError)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ describe "Digest.hexencode" do
|
|||
-> { Digest.hexencode(nil) }.should raise_error(TypeError)
|
||||
end
|
||||
|
||||
it "raises a TypeError when passed a Fixnum" do
|
||||
it "raises a TypeError when passed an Integer" do
|
||||
-> { Digest.hexencode(9001) }.should raise_error(TypeError)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue