Skip to content

Commit

Permalink
more permissive assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Jun 3, 2024
1 parent 56f441e commit cfe1345
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/database/sqlite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
}

0 comments on commit cfe1345

Please sign in to comment.