mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@4ce9f41
This commit is contained in:
parent
267bed0cd9
commit
727c97da19
108 changed files with 1325 additions and 270 deletions
|
@ -23,7 +23,7 @@ describe :string_times, shared: true do
|
|||
-> { @object.call("cool", min_long) }.should raise_error(ArgumentError)
|
||||
end
|
||||
|
||||
it "raises a RangeError when given integer is an Integer" do
|
||||
it "raises a RangeError when given integer is a Bignum" do
|
||||
-> { @object.call("cool", 999999999999999999999) }.should raise_error(RangeError)
|
||||
-> { @object.call("", 999999999999999999999) }.should raise_error(RangeError)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue