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
|
@ -17,7 +17,7 @@ describe "Enumerable#first" do
|
|||
EnumerableSpecs::YieldsMixed2.new.to_enum.first.should == nil
|
||||
end
|
||||
|
||||
it "raises a RangeError when passed a Bignum" do
|
||||
it "raises a RangeError when passed an Integer" do
|
||||
enum = EnumerableSpecs::Empty.new
|
||||
-> { enum.first(bignum_value) }.should raise_error(RangeError)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue