Skip to content

Commit 965b8c3

Browse files
authored
Merge pull request rails#51854 from yahonda/address_rubocop_offenses_since_51826
Address `Layout/IndentationWidth` cop offenses
2 parents d0ce794 + b708a1b commit 965b8c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

activerecord/test/cases/connection_adapters/type_lookup_test.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ def test_bigint_limit
8888
end
8989

9090
def test_decimal_without_scale
91-
%w{decimal(2) decimal(2,0) numeric(2) numeric(2,0) number(2) number(2,0)}.each do |type|
92-
cast_type = @connection.send(:type_map).lookup(type)
91+
%w{decimal(2) decimal(2,0) numeric(2) numeric(2,0) number(2) number(2,0)}.each do |type|
92+
cast_type = @connection.send(:type_map).lookup(type)
9393

94-
assert_equal :decimal, cast_type.type
95-
assert_equal 2, cast_type.cast(2.1)
96-
end
94+
assert_equal :decimal, cast_type.type
95+
assert_equal 2, cast_type.cast(2.1)
96+
end
9797
end
9898

9999
private

0 commit comments

Comments
 (0)