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

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