aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer/gcd_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-12-27 17:35:32 +0100
committerBenoit Daloze <eregontp@gmail.com>2020-12-27 17:35:32 +0100
commit727c97da1977544c91b9b3677811da3a44af7d53 (patch)
tree4f027117edad10789db57ff4b83242753a89e39d /spec/ruby/core/integer/gcd_spec.rb
parent267bed0cd91711e2a8c79219e97431ba22137b01 (diff)
downloadruby-727c97da1977544c91b9b3677811da3a44af7d53.tar.gz
Update to ruby/spec@4ce9f41
Diffstat (limited to 'spec/ruby/core/integer/gcd_spec.rb')
-rw-r--r--spec/ruby/core/integer/gcd_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/integer/gcd_spec.rb b/spec/ruby/core/integer/gcd_spec.rb
index 82086d742a..961f1c5c2e 100644
--- a/spec/ruby/core/integer/gcd_spec.rb
+++ b/spec/ruby/core/integer/gcd_spec.rb
@@ -31,13 +31,13 @@ describe "Integer#gcd" do
-100.gcd(-100).should == 100
end
- it "accepts an Integer argument" do
+ it "accepts a Bignum argument" do
bignum = 9999**99
bignum.should be_kind_of(Integer)
99.gcd(bignum).should == 99
end
- it "works if self is an Integer" do
+ it "works if self is a Bignum" do
bignum = 9999**99
bignum.should be_kind_of(Integer)
bignum.gcd(99).should == 99