From 8073d6f093f5dbd71860c38dc79751c56a83f3ef Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 7 Feb 2024 09:40:22 -0500 Subject: [PATCH] test: update tests to accommodate changed error messages see sqlite/sqlite@a67d63b4 --- test/test_database.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_database.rb b/test/test_database.rb index 084a641d..5c902eed 100644 --- a/test/test_database.rb +++ b/test/test_database.rb @@ -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