summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/string
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-12-21 01:16:26 +0900
committerNobuyoshi Nakada <[email protected]>2020-12-21 01:19:55 +0900
commit9c73c756244fa27ffa99d81dcc73a4ad14198002 (patch)
tree14b0ea9059b8c31e276531a1df712ead4e158cdb /spec/ruby/shared/string
parentfb8f011422c645ebe29e94c3fb2079af73d1d35f (diff)
Use Integer instead of Fixnum/Bignum
Diffstat (limited to 'spec/ruby/shared/string')
-rw-r--r--spec/ruby/shared/string/times.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/string/times.rb b/spec/ruby/shared/string/times.rb
index cd4edf5340..fcc9d00fd6 100644
--- a/spec/ruby/shared/string/times.rb
+++ b/spec/ruby/shared/string/times.rb
@@ -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 a Bignum" do
+ it "raises a RangeError when given integer is an Integer" do
-> { @object.call("cool", 999999999999999999999) }.should raise_error(RangeError)
-> { @object.call("", 999999999999999999999) }.should raise_error(RangeError)
end