Skip to content

Commit

Permalink
Format sources with goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick authored and losipiuk committed Jul 11, 2022
1 parent 155648b commit d4b8686
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions trino/trino_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ import (
"database/sql"
"encoding/json"
"fmt"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"net/http"
"net/http/httptest"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestConfig(t *testing.T) {
Expand Down Expand Up @@ -133,7 +134,7 @@ func TestConnErrorDSN(t *testing.T) {
require.NoError(t, err)

_, err = db.Query("SELECT 1")
assert.Errorf(t, err,"test dsn is supposed to fail: %s", tc.DSN)
assert.Errorf(t, err, "test dsn is supposed to fail: %s", tc.DSN)

if err == nil {
require.NoError(t, db.Close())
Expand Down

0 comments on commit d4b8686

Please sign in to comment.