Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Nov 23, 2023
1 parent 5338168 commit b9d551e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package txdb_test

import (
"database/sql"
"fmt"
"strings"
"testing"
)
Expand All @@ -28,6 +29,7 @@ const (

// bootstrap bootstraps the database with the nfor tests.
func bootstrap(t *testing.T, driver, dsn string) {
fmt.Println("bootstrapping", dsn)
dsn = strings.TrimSuffix(dsn, "/"+testDB)
db, err := sql.Open(driver, dsn)
if err != nil {
Expand Down

0 comments on commit b9d551e

Please sign in to comment.