Skip to content

Commit

Permalink
fix go vet tool reported formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
l3pp4rd committed Feb 26, 2016
1 parent 11d3eed commit 3730250
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions statement_test.go
Expand Up @@ -10,7 +10,7 @@ import (
func TestExpectedPreparedStatemtCloseError(t *testing.T) {
conn, mock, err := New()
if err != nil {
t.Fatalf("failed to open sqlmock database:", err)
t.Fatal("failed to open sqlmock database:", err)
}

mock.ExpectBegin()
Expand All @@ -19,12 +19,12 @@ func TestExpectedPreparedStatemtCloseError(t *testing.T) {

txn, err := conn.Begin()
if err != nil {
t.Fatalf("unexpected error while opening transaction:", err)
t.Fatal("unexpected error while opening transaction:", err)
}

stmt, err := txn.Prepare("SELECT")
if err != nil {
t.Fatalf("unexpected error while preparing a statement:", err)
t.Fatal("unexpected error while preparing a statement:", err)
}

if err := stmt.Close(); err != want {
Expand Down

0 comments on commit 3730250

Please sign in to comment.