summaryrefslogtreecommitdiffhomepage
path: root/test/t/float.rb
diff options
context:
space:
mode:
authorcremno <[email protected]>2015-11-06 18:35:19 +0100
committercremno <[email protected]>2015-11-06 18:35:19 +0100
commitbb141e553271dda750c54305d0b56ef69d3b2abd (patch)
tree888cdee3e5b2ef74ed676b4a721d81b51f214a30 /test/t/float.rb
parent8bad1954a40c258679f51d4e97acc4f7e4697309 (diff)
downloadmruby-bb141e553271dda750c54305d0b56ef69d3b2abd.tar.gz
mruby-bb141e553271dda750c54305d0b56ef69d3b2abd.zip
fix ambiguous first argument warning
/home/travis/build/mruby/mruby/test/t/float.rb:201:17: ambiguous first argument; put parentheses or even spaces
Diffstat (limited to 'test/t/float.rb')
-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 0aab0b1f2..1805c6e7d 100644
--- a/test/t/float.rb
+++ b/test/t/float.rb
@@ -198,5 +198,5 @@ assert('Float#>>') do
assert_equal 0, 23.0 >> 128
# Don't raise on large Right Shift
- assert_equal -1, -23.0 >> 128
+ assert_equal(-1, -23.0 >> 128)
end