mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use Integer instead of Fixnum/Bignum
This commit is contained in:
parent
fb8f011422
commit
9c73c75624
144 changed files with 392 additions and 390 deletions
|
@ -59,7 +59,7 @@ describe :rational_exponent, shared: true do
|
|||
end
|
||||
end
|
||||
|
||||
describe "when passed Bignum" do
|
||||
describe "when passed Integer" do
|
||||
# #5713
|
||||
it "returns Rational(0) when self is Rational(0) and the exponent is positive" do
|
||||
(Rational(0) ** bignum_value).should eql(Rational(0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue