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:
parent
dcb364ec8e
commit
c33c03e80c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue