Fix a couple go vet discovered issues
This commit is contained in:
@@ -496,7 +496,6 @@ func (c *Conn) SelectValueTo(w io.Writer, sql string, arguments ...interface{})
|
||||
return rxErr
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (c *Conn) rxDataRowValueTo(w io.Writer, bodySize int32) (err error) {
|
||||
|
||||
+2
-2
@@ -635,7 +635,7 @@ func TestTransaction(t *testing.T) {
|
||||
return true
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("Transaction unexpectedly failed: ", err)
|
||||
t.Fatalf("Transaction unexpectedly failed: %v", err)
|
||||
}
|
||||
if !committed {
|
||||
t.Fatal("Transaction was not committed")
|
||||
@@ -655,7 +655,7 @@ func TestTransaction(t *testing.T) {
|
||||
return false
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("Transaction unexpectedly failed: ", err)
|
||||
t.Fatalf("Transaction unexpectedly failed: %v", err)
|
||||
}
|
||||
if committed {
|
||||
t.Fatal("Transaction should not have been committed")
|
||||
|
||||
Reference in New Issue
Block a user