Commit 9f4147f2 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Fix "ambiguous first argument" warning in `test/t/float.rb`

parent 7cf1bc39
......@@ -178,10 +178,10 @@ assert('Float#divmod') do
end
assert('Float#nan?') do
assert_predicate 0.0/0.0, :nan?
assert_not_predicate 0.0, :nan?
assert_not_predicate 1.0/0.0, :nan?
assert_not_predicate -1.0/0.0, :nan?
assert_predicate(0.0/0.0, :nan?)
assert_not_predicate(0.0, :nan?)
assert_not_predicate(1.0/0.0, :nan?)
assert_not_predicate(-1.0/0.0, :nan?)
end
assert('Float#<<') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment