aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/adapter_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/test/cases/adapter_test.rb b/activerecord/test/cases/adapter_test.rb
index 6d211d5768..2236039ff7 100644
--- a/activerecord/test/cases/adapter_test.rb
+++ b/activerecord/test/cases/adapter_test.rb
@@ -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