Skip to content

Commit

Permalink
use :memory:
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Oct 27, 2023
1 parent beb0738 commit b3afcf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions database/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ func TestDialectStore(t *testing.T) {
})
// Test generic behavior.
t.Run("sqlite3", func(t *testing.T) {
dir := t.TempDir()
db, err := sql.Open("sqlite", filepath.Join(dir, "sql_embed.db"))
db, err := sql.Open("sqlite", ":memory:")
check.NoError(t, err)
testStore(context.Background(), t, database.DialectSQLite3, db, func(t *testing.T, err error) {
var sqliteErr *sqlite.Error
Expand Down

0 comments on commit b3afcf4

Please sign in to comment.