@@ -1001,7 +1001,7 @@ def test_strict_strings_by_default
1001
1001
error = assert_raises ( StandardError ) do
1002
1002
conn . add_index :testings , :non_existent2
1003
1003
end
1004
- assert_match ( /no such column: non_existent2/ , error . message )
1004
+ assert_match ( /no such column: "? non_existent2"? / , error . message )
1005
1005
assert_equal conn . pool , error . connection_pool
1006
1006
end
1007
1007
end
@@ -1013,7 +1013,7 @@ def test_strict_strings_by_default_and_true_in_database_yml
1013
1013
error = assert_raises ( StandardError ) do
1014
1014
conn . add_index :testings , :non_existent
1015
1015
end
1016
- assert_match ( /no such column: non_existent/ , error . message )
1016
+ assert_match ( /no such column: "? non_existent"? / , error . message )
1017
1017
assert_equal conn . pool , error . connection_pool
1018
1018
1019
1019
with_strict_strings_by_default do
@@ -1023,7 +1023,7 @@ def test_strict_strings_by_default_and_true_in_database_yml
1023
1023
error = assert_raises ( StandardError ) do
1024
1024
conn . add_index :testings , :non_existent2
1025
1025
end
1026
- assert_match ( /no such column: non_existent2/ , error . message )
1026
+ assert_match ( /no such column: "? non_existent2"? / , error . message )
1027
1027
assert_equal conn . pool , error . connection_pool
1028
1028
end
1029
1029
end
0 commit comments