mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@ab32a1a
This commit is contained in:
parent
f616e81637
commit
d3d5ef0cca
74 changed files with 1201 additions and 324 deletions
|
@ -36,4 +36,8 @@ describe "Float#/" do
|
|||
-> { 13.0 / "10" }.should raise_error(TypeError)
|
||||
-> { 13.0 / :symbol }.should raise_error(TypeError)
|
||||
end
|
||||
|
||||
it "divides correctly by Rational numbers" do
|
||||
(1.2345678901234567 / Rational(1, 10000000000000000000)).should == 1.2345678901234567e+19
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue