Skip to content

Commit

Permalink
lint: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Apr 28, 2019
1 parent 02b27d2 commit a9a368e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/app/migrator/wordpress.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion backend/app/migrator/wordpress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit a9a368e

Please sign in to comment.