Skip to content

Commit

Permalink
Merge pull request #504 from sparklemotion/flavorjones-20240207-upstr…
Browse files Browse the repository at this point in the history
…eam-sqlite-compat

test: update tests to accommodate changed error messages
  • Loading branch information
flavorjones committed Feb 7, 2024
2 parents 65c8138 + 8073d6f commit 16470de
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 16470de

Please sign in to comment.