fix small codespell issue

This commit is contained in:
Mario Trangoni 2018-04-17 11:42:17 +02:00
parent 4bde157d91
commit b75aefcf46
1 changed files with 1 additions and 1 deletions

View File

@ -1517,7 +1517,7 @@ func (db *TestDB) tearDown() {
// q replaces ? parameters if needed // q replaces ? parameters if needed
func (db *TestDB) q(sql string) string { func (db *TestDB) q(sql string) string {
switch db.dialect { switch db.dialect {
case POSTGRESQL: // repace with $1, $2, .. case POSTGRESQL: // replace with $1, $2, ..
qrx := regexp.MustCompile(`\?`) qrx := regexp.MustCompile(`\?`)
n := 0 n := 0
return qrx.ReplaceAllStringFunc(sql, func(string) string { return qrx.ReplaceAllStringFunc(sql, func(string) string {