Merge pull request #352 from maxtaran2010/fix/typos
fix: correct typos in comments and error strings
diff --git a/rows_test.go b/rows_test.go
index 80f1476..c2d921a 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -84,7 +84,7 @@
// Note: that close will return error only before rows EOF
// that is a default sql package behavior. If you run rs.Next()
- // it will handle the error internally and return nil bellow
+ // it will handle the error internally and return nil below
if err := rs.Close(); err != nil {
fmt.Println("got error:", err)
}
diff --git a/sqlmock.go b/sqlmock.go
index a4f8f35..00f13fb 100644
--- a/sqlmock.go
+++ b/sqlmock.go
@@ -71,7 +71,7 @@
// expectations in the order they were set or not.
//
// By default it is set to - true. But if you use goroutines
- // to parallelize your query executation, that option may
+ // to parallelize your query execution, that option may
// be handy.
//
// This option may be turned on anytime during tests. As soon
diff --git a/sqlmock_test.go b/sqlmock_test.go
index 2129a16..fdc5374 100644
--- a/sqlmock_test.go
+++ b/sqlmock_test.go
@@ -1175,7 +1175,7 @@
r := mock.NewRows(columns)
if len(r.cols) != len(columns) || r.cols[0] != columns[0] || r.cols[1] != columns[1] {
- t.Errorf("expecting to create a row with columns %v, actual colmns are %v", r.cols, columns)
+ t.Errorf("expecting to create a row with columns %v, actual columns are %v", r.cols, columns)
}
}