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

Fix indentation style for private method.

This commit is contained in:
Dennis Taylor 2017-07-05 17:13:37 -07:00
parent ad0bde58d4
commit 06e89c922c

View file

@ -286,11 +286,11 @@ module ActiveRecord
private
def syntax_error_exception_class
return Mysql2::Error if defined?(Mysql2)
return PG::SyntaxError if defined?(PG)
return SQLite3::SQLException if defined?(SQLite3)
end
def syntax_error_exception_class
return Mysql2::Error if defined?(Mysql2)
return PG::SyntaxError if defined?(PG)
return SQLite3::SQLException if defined?(SQLite3)
end
end
class AdapterForeignKeyTest < ActiveRecord::TestCase