diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-10-31 09:10:51 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-10-31 09:10:51 +0900 |
commit | c33c03e80cbe9f27274b45fe55f93bad3af988fb (patch) | |
tree | ae2487494f38e22caf91fe65491972ab829638cc | |
parent | dcb364ec8ec89c4c70c8de1965a3d3d6b45de072 (diff) | |
download | rails-c33c03e80cbe9f27274b45fe55f93bad3af988fb.tar.gz rails-c33c03e80cbe9f27274b45fe55f93bad3af988fb.tar.bz2 rails-c33c03e80cbe9f27274b45fe55f93bad3af988fb.zip |
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
```
-rw-r--r-- | activemodel/test/cases/type/big_integer_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/type/big_integer_test.rb b/activemodel/test/cases/type/big_integer_test.rb index db1d215083..56002b7cc6 100644 --- a/activemodel/test/cases/type/big_integer_test.rb +++ b/activemodel/test/cases/type/big_integer_test.rb @@ -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 |