database/sql: fix spelling mistake

Change-Id: I67db3b342929a7bd11f01bf3b9afb49f4da69a0a
Reviewed-on: https://go-review.googlesource.com/35841
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Kevin Burke 2017-01-26 13:41:56 -08:00 committed by Brad Fitzpatrick
parent a246f61637
commit ec4062f8ea
2 changed files with 2 additions and 2 deletions

View file

@ -2348,7 +2348,7 @@ func (rs *Rows) Scan(dest ...interface{}) error {
}
// rowsCloseHook returns a function so tests may install the
// hook throug a test only mutex.
// hook through a test only mutex.
var rowsCloseHook = func() func(*Rows, *error) { return nil }
func (rs *Rows) isClosed() bool {

View file

@ -2664,7 +2664,7 @@ func TestIssue18429(t *testing.T) {
if err != nil {
return
}
// This is expected to give a cancel error many, but not all the time.
// This is expected to give a cancel error most, but not all the time.
// Test failure will happen with a panic or other race condition being
// reported.
rows, _ := tx.QueryContext(ctx, "WAIT|"+qwait+"|SELECT|people|name|")