Merge pull request #51854 from yahonda/address_rubocop_offenses_since_51826

Address `Layout/IndentationWidth` cop offenses
This commit is contained in:
Yasuo Honda 2024-05-18 08:49:32 +09:00 committed by GitHub
commit 965b8c372a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -88,12 +88,12 @@ def test_bigint_limit
end
def test_decimal_without_scale
%w{decimal(2) decimal(2,0) numeric(2) numeric(2,0) number(2) number(2,0)}.each do |type|
cast_type = @connection.send(:type_map).lookup(type)
%w{decimal(2) decimal(2,0) numeric(2) numeric(2,0) number(2) number(2,0)}.each do |type|
cast_type = @connection.send(:type_map).lookup(type)
assert_equal :decimal, cast_type.type
assert_equal 2, cast_type.cast(2.1)
end
assert_equal :decimal, cast_type.type
assert_equal 2, cast_type.cast(2.1)
end
end
private