提交 90f3c288 编写于 作者: Y yuuji.yaginuma

remove warning from integer ext test

this removes the following warning:

```
test/core_ext/integer_ext_test.rb:34: warning: ambiguous first argument; put parentheses or a space even after `-' operator
test/core_ext/integer_ext_test.rb:38: warning: ambiguous first argument; put parentheses or a space even after `-' operator
```
上级 987a4530
......@@ -31,11 +31,11 @@ def test_ordinal
def test_positive
assert 1.positive?
assert_not 0.positive?
assert_not -1.positive?
assert_not(-1.positive?)
end
def test_negative
assert -1.negative?
assert(-1.negative?)
assert_not 0.negative?
assert_not 1.negative?
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册