Skip to content

Commit

Permalink
Minor comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Jan 5, 2024
1 parent cc2e655 commit ae09091
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
testDB = "txdb_test"
)

// bootstrap bootstraps the database with the nfor tests.
// bootstrap bootstraps the database for tests.
func bootstrap(t *testing.T, driver, dsn string) {
db, err := sql.Open(driver, dsn)
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ type testDriver struct {
// driver is the name registered by the driver when imported.
driver string
// dsnEnvKey is the name of an environment variable to fetch the DSN from.
// It is expected to include the name of the database, and any necessary
// credentials.
// The DSN is expected to include the name of the database, and any
// necessary credentials.
dsnEnvKey string
// options are optional parameters appended to the DSN before connecting
// options are optional parameters appended to the DSN before connecting.
options string
// registered is set to true once the driver is registered, to prevent
// duplicate registration
// duplicate registration.
registered bool
}

Expand Down

0 comments on commit ae09091

Please sign in to comment.