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:
parent
e6f0a5372e
commit
1e34ed7d82
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module ActiveRecord
|
||||||
type = Type::Integer.new
|
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})
|
||||||
assert_nil type.cast((1..2))
|
assert_nil type.cast(1..2)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "casting ActiveRecord models" do
|
test "casting ActiveRecord models" do
|
||||||
|
|
Loading…
Reference in a new issue