提交 1e34ed7d 编写于 作者: K karanarora

remove redundant parenthesis

上级 e6f0a537
......@@ -21,7 +21,7 @@ class IntegerTest < ActiveRecord::TestCase
type = Type::Integer.new
assert_nil type.cast([1,2])
assert_nil type.cast({1 => 2})
assert_nil type.cast((1..2))
assert_nil type.cast(1..2)
end
test "casting ActiveRecord models" do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册