1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove redundant parenthesis

This commit is contained in:
karanarora 2015-05-14 04:13:33 +05:30
parent e6f0a5372e
commit 1e34ed7d82

View file

@ -21,7 +21,7 @@ module ActiveRecord
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