Skip to content

Commit

Permalink
Merge pull request #15110 from kuldeepaggarwal/fix-warning
Browse files Browse the repository at this point in the history
remove warning `ambiguous first argument; put parentheses or even spaces`
  • Loading branch information
rafaelfranca committed May 14, 2014
2 parents 96da5e7 + bf68ccc commit c279d01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -138,7 +138,7 @@ def test_update_tsvector
def test_number_values
assert_equal 123.456, @first_number.single
assert_equal 123456.789, @first_number.double
assert_equal -::Float::INFINITY, @second_number.single
assert_equal(-::Float::INFINITY, @second_number.single)
assert_equal ::Float::INFINITY, @second_number.double
assert_same ::Float::NAN, @third_number.double
end
Expand Down

0 comments on commit c279d01

Please sign in to comment.