Unverified Commit 9ca9af60 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4401 from shuujii/fix-ambiguous-first-argument-warning-in-test-t-float.rb

Fix "ambiguous first argument" warning in `test/t/float.rb`
parents e9f3902a 9f4147f2
......@@ -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