diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2016-10-31 07:01:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-31 07:01:55 +0000 |
commit | 7305ac20b49c890bbaed3c6065e1f6708e30c4e3 (patch) | |
tree | 264bb678082216de84328a56b3f2f72426de9045 /activemodel/test/cases/type | |
parent | 516344d01f67e7ae92f097cebc34f5205f1c9224 (diff) | |
parent | c33c03e80cbe9f27274b45fe55f93bad3af988fb (diff) | |
download | rails-7305ac20b49c890bbaed3c6065e1f6708e30c4e3.tar.gz rails-7305ac20b49c890bbaed3c6065e1f6708e30c4e3.tar.bz2 rails-7305ac20b49c890bbaed3c6065e1f6708e30c4e3.zip |
Merge pull request #26935 from y-yagi/fix_ruby_warning
remove warning from big integer test
Diffstat (limited to 'activemodel/test/cases/type')
-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 |