2
0

Fix a couple go vet discovered issues

This commit is contained in:
Jack Christensen
2014-06-11 07:59:43 -05:00
parent b982aeb102
commit 928612917d
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -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
View File
@@ -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")