Skip to content

Commit b8ffc02

Browse files
committed
Address warning: mismatched indentations at test_factory_invalid_formatter
This commit addresses the `warning: mismatched indentations` below. ```ruby $ bundle exec ruby -w -Itest test/cases/query_logs_formatter_test.rb -n test_factory_invalid_formatter test/cases/query_logs_formatter_test.rb:10: warning: mismatched indentations at 'end' with 'def' at 6 Using sqlite3 Run options: -n test_factory_invalid_formatter --seed 48904 . Finished in 0.008743s, 114.3776 runs/s, 114.3776 assertions/s. 1 runs, 1 assertions, 0 failures, 0 errors, 0 skips $ ``` Follow-up rails#45081
1 parent 6d0bafa commit b8ffc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/query_logs_formatter_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_factory_invalid_formatter
77
assert_raises(ArgumentError) do
88
ActiveRecord::QueryLogs::FormatterFactory.from_symbol(:non_existing_formatter)
99
end
10-
end
10+
end
1111

1212
def test_sqlcommenter_key_value_separator
1313
formatter = ActiveRecord::QueryLogs::FormatterFactory.from_symbol(:sqlcommenter)

0 commit comments

Comments
 (0)