diff options
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/numeric_ext_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/numeric_ext_test.rb b/activesupport/test/core_ext/numeric_ext_test.rb index 192b2ba577..623c64d050 100644 --- a/activesupport/test/core_ext/numeric_ext_test.rb +++ b/activesupport/test/core_ext/numeric_ext_test.rb @@ -397,7 +397,7 @@ class NumericExtFormattingTest < ActiveSupport::TestCase end def test_negative - assert -1.negative? + assert(-1.negative?) assert_not 0.negative? assert_not 1.negative? end |