Skip to content

Commit

Permalink
gofmt sql_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sredny buitrago authored and sredny buitrago committed Nov 23, 2024
1 parent 6cb4808 commit 593f372
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pumps/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ func TestSQLInit(t *testing.T) {
t.Fatal("SQL Pump couldn't be initialized with err: ", err)
}
defer func() {
pmp.db.Migrator().DropTable(analytics.SQLTable)
err := pmp.db.Migrator().DropTable(analytics.SQLTable)
if err != nil {
t.Errorf("Failed to drop table: %v", err)
}
}()

assert.NotNil(t, pmp.db)
Expand Down

0 comments on commit 593f372

Please sign in to comment.