lint: typos

This commit is contained in:
Umputun
2019-04-28 13:13:12 -05:00
parent 02b27d2c12
commit a9a368e02d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ func (w *WordPress) convert(r io.Reader, siteID string) chan store.Comment {
commentsCh <- commentFormatter.Format(c)
stats.inpComments++
if stats.inpComments%1000 == 0 {
log.Printf("[DEBUG] proccessed %d comments", stats.inpComments)
log.Printf("[DEBUG] processed %d comments", stats.inpComments)
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ import (
func TestWordPress_Import(t *testing.T) {
siteID := "testWP"
defer os.Remove("/tmp/remark-test.db")
defer func() { _ = os.Remove("/tmp/remark-test.db") }()
b, err := engine.NewBoltDB(bolt.Options{}, engine.BoltSite{FileName: "/tmp/remark-test.db", SiteID: siteID})
assert.Nil(t, err, "create store")