1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove warning from big integer test

This removes the following warnings.

```
activemodel/test/cases/type/big_integer_test.rb:15: warning: ambiguous first argument; put parentheses or a space even after `-' operator
```
This commit is contained in:
yuuji.yaginuma 2016-10-31 09:10:51 +09:00
parent dcb364ec8e
commit c33c03e80c

View file

@ -12,7 +12,7 @@ module ActiveModel
def test_small_values
type = Type::BigInteger.new
assert_equal -9999999999999999999999999999999, type.serialize(-9999999999999999999999999999999)
assert_equal(-9999999999999999999999999999999, type.serialize(-9999999999999999999999999999999))
end
def test_large_values