Skip to content

Commit 16470de

Browse files
authored
Merge pull request #504 from sparklemotion/flavorjones-20240207-upstream-sqlite-compat
test: update tests to accommodate changed error messages
2 parents 65c8138 + 8073d6f commit 16470de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_database.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def test_strict_mode
621621
error = assert_raises SQLite3::SQLException do
622622
db.execute('create index index_numbers_nope ON numbers ("nope");')
623623
end
624-
assert_includes error.message, "no such column: nope"
624+
assert_match(/no such column: "?nope"?/, error.message)
625625
end
626626

627627
def test_load_extension_with_nonstring_argument

0 commit comments

Comments
 (0)