1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix typos

This commit is contained in:
Nobuyoshi Nakada 2021-11-02 18:29:53 +09:00
parent c2dcaa7362
commit a202408180
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
14 changed files with 19 additions and 19 deletions

View file

@ -9,7 +9,7 @@ describe :rational_divmod_rat, shared: true do
Rational(bignum_value, 4).divmod(Rational(4, 3)).should eql([1729382256910270464, Rational(0, 1)])
end
it "raises a ZeroDivisonError when passed a Rational with a numerator of 0" do
it "raises a ZeroDivisionError when passed a Rational with a numerator of 0" do
-> { Rational(7, 4).divmod(Rational(0, 3)) }.should raise_error(ZeroDivisionError)
end
end