1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-06-24 21:56:48 +02:00

Fixed some typos

This commit is contained in:
Theo
2019-02-27 19:44:03 +00:00
parent 7f7699b45e
commit 882c1d1daa
7 changed files with 13 additions and 14 deletions

View File

@ -114,7 +114,7 @@ func TestMockQuery(t *testing.T) {
defer func() {
if er := rows.Close(); er != nil {
t.Error("Unexpected error while trying to close rows")
t.Error("unexpected error while trying to close rows")
}
}()
@ -167,7 +167,7 @@ func TestMockQueryTypes(t *testing.T) {
}
defer func() {
if er := rows.Close(); er != nil {
t.Error("Unexpected error while trying to close rows")
t.Error("unexpected error while trying to close rows")
}
}()
if !rows.Next() {
@ -615,7 +615,7 @@ func TestArgumentReflectValueTypeError(t *testing.T) {
_, err = db.Query("SELECT * FROM sales WHERE x = ?", 5)
if err == nil {
t.Error("Expected error, but got none")
t.Error("expected error, but got none")
}
}
@ -782,7 +782,7 @@ func TestEmptyRowSet(t *testing.T) {
defer func() {
if er := rows.Close(); er != nil {
t.Error("Unexpected error while trying to close rows")
t.Error("unexpected error while trying to close rows")
}
}()