Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/postgres/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func TestWithSSL(t *testing.T) {

db, err := sql.Open("postgres", connStr)
require.NoError(t, err)
assert.NotNil(t, db)
require.NotNil(t, db)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: could you remove the entire assert import and replace it with require? 🙏

Other than than, LGTM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely. will knock that out today. thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heres the update. 588bdd0.

defer db.Close()

result, err := db.Exec("SELECT * FROM testdb;")
Expand Down