test: make sqlite-database-sync tests work with system sqlite

PR-URL: https://github.com/nodejs/node/pull/58507
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Jelle Licht 2025-06-01 12:56:00 +02:00 committed by Antoine du Hamel
parent 7d0df646f6
commit 93900b0c17
No known key found for this signature in database
GPG Key ID: 21D900FFDB233756

View File

@ -163,7 +163,7 @@ suite('DatabaseSync() constructor', () => {
db.exec('SELECT "foo";');
}, {
code: 'ERR_SQLITE_ERROR',
message: /no such column: "foo"/,
message: /no such column: "?foo"?/,
});
});