Skip to content

Commit 21bbf5a

Browse files
authored
Merge pull request rails#51901 from zzak/sqlite-non_existent-errors
Fix railtie config test for sqlite 3.46.0
2 parents 213bdfe + c30c5d7 commit 21bbf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/test/application/configuration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,7 @@ class Post < ActiveRecord::Base
28932893
error = assert_raises(StandardError) do
28942894
Post.lease_connection.add_index :posts, :non_existent
28952895
end
2896-
assert_match(/no such column: non_existent/, error.message)
2896+
assert_match(/no such column: "?non_existent"?/, error.message)
28972897
end
28982898

28992899
test "ActiveSupport::MessageEncryptor.use_authenticated_message_encryption is true by default for new apps" do

0 commit comments

Comments
 (0)