From cfe1345485653db6c02fae90659693800dce7446 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Mon, 3 Jun 2024 19:09:57 +0200 Subject: [PATCH] more permissive assertion --- internal/database/sqlite_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/database/sqlite_test.go b/internal/database/sqlite_test.go index 971837b715..a822c05f63 100644 --- a/internal/database/sqlite_test.go +++ b/internal/database/sqlite_test.go @@ -84,6 +84,5 @@ func TestSQLiteDatabaseSaveAccountFail(t *testing.T) { // Test falid database acc := model.Account{} _, err = db.SaveAccount(ctx, acc) - assert.Contains(t, err.Error(), "SQL logic error: no such table: account (1)") - + assert.Contains(t, err.Error(), "no such table: account (1)") }