Skip to content

Commit

Permalink
Test suite util
Browse files Browse the repository at this point in the history
Signed-off-by: mrizzi <mrizzi@redhat.com>
  • Loading branch information
mrizzi committed Aug 28, 2023
1 parent 1d3979c commit 7baac6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/assembler/backends/ent/testutils/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *Suite) Run(testName string, tf func()) {
log.Fatal(err)
}
defer func(db *sql.DB, query string, args ...any) {
_, err := db.Exec(query, args)
_, err := db.Exec(query, args...)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 7baac6e

Please sign in to comment.