aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_test.go
diff options
context:
space:
mode:
authorMario Trangoni <mjtrangoni@gmail.com>2018-04-17 11:42:17 +0200
committerMario Trangoni <mjtrangoni@gmail.com>2018-04-17 12:33:03 +0200
commitb75aefcf462ece8ce34da3f6e9d3877157506669 (patch)
treeaf463e92456cf6f397b66b457cf6edc066a93e6b /sqlite3_test.go
parentfix all goconst issues (diff)
downloadgolite-b75aefcf462ece8ce34da3f6e9d3877157506669.tar.gz
golite-b75aefcf462ece8ce34da3f6e9d3877157506669.tar.xz
fix small codespell issue
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r--sqlite3_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite3_test.go b/sqlite3_test.go
index 8d65243..5803042 100644
--- a/sqlite3_test.go
+++ b/sqlite3_test.go
@@ -1517,7 +1517,7 @@ func (db *TestDB) tearDown() {
// q replaces ? parameters if needed
func (db *TestDB) q(sql string) string {
switch db.dialect {
- case POSTGRESQL: // repace with $1, $2, ..
+ case POSTGRESQL: // replace with $1, $2, ..
qrx := regexp.MustCompile(`\?`)
n := 0
return qrx.ReplaceAllStringFunc(sql, func(string) string {