Skip to content

Commit

Permalink
test: update tests to accommodate changed error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Feb 7, 2024
1 parent 65c8138 commit 8073d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def test_strict_mode
error = assert_raises SQLite3::SQLException do
db.execute('create index index_numbers_nope ON numbers ("nope");')
end
assert_includes error.message, "no such column: nope"
assert_match(/no such column: "?nope"?/, error.message)
end

def test_load_extension_with_nonstring_argument
Expand Down

0 comments on commit 8073d6f

Please sign in to comment.