aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-10-31 09:10:51 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-10-31 09:10:51 +0900
commitc33c03e80cbe9f27274b45fe55f93bad3af988fb (patch)
treeae2487494f38e22caf91fe65491972ab829638cc
parentdcb364ec8ec89c4c70c8de1965a3d3d6b45de072 (diff)
downloadrails-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.rb2
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