aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/array/first_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/first_spec.rb')
-rw-r--r--spec/ruby/core/array/first_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/first_spec.rb b/spec/ruby/core/array/first_spec.rb
index 463da829a2..66eeba6565 100644
--- a/spec/ruby/core/array/first_spec.rb
+++ b/spec/ruby/core/array/first_spec.rb
@@ -33,7 +33,7 @@ describe "Array#first" do
-> { [1, 2].first(-1) }.should raise_error(ArgumentError)
end
- it "raises a RangeError when count is an Integer" do
+ it "raises a RangeError when count is a Bignum" do
-> { [].first(bignum_value) }.should raise_error(RangeError)
end