summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringscanner/shared/peek.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringscanner/shared/peek.rb')
-rw-r--r--spec/ruby/library/stringscanner/shared/peek.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringscanner/shared/peek.rb b/spec/ruby/library/stringscanner/shared/peek.rb
index 4e2e643353..768f5f2d58 100644
--- a/spec/ruby/library/stringscanner/shared/peek.rb
+++ b/spec/ruby/library/stringscanner/shared/peek.rb
@@ -22,7 +22,7 @@ describe :strscan_peek, shared: true do
-> { @s.send(@method, -2) }.should raise_error(ArgumentError)
end
- it "raises a RangeError when the passed argument is a Bignum" do
+ it "raises a RangeError when the passed argument is an Integer" do
-> { @s.send(@method, bignum_value) }.should raise_error(RangeError)
end