summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/t/float.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/float.rb b/test/t/float.rb
index 7f4824472..97399b76f 100644
--- a/test/t/float.rb
+++ b/test/t/float.rb
@@ -141,5 +141,5 @@ end
assert('Float#truncate', '15.2.9.3.15') do
assert_equal 3.123456789.truncate, 3
- assert_equal -3.1.truncate, -3
+ assert_equal(-3.1.truncate, -3)
end