fix: address review comments

This commit is contained in:
James Houlahan
2020-04-21 07:17:50 +00:00
parent febdf98349
commit 1457005f86
31 changed files with 88 additions and 104 deletions

View File

@ -19,7 +19,6 @@ package store
import (
"encoding/json"
"errors"
"fmt"
"github.com/ProtonMail/proton-bridge/pkg/pmapi"
@ -56,7 +55,7 @@ func (store *Store) TestGetStoreFilePath() string {
func (store *Store) TestDumpDB(tb assert.TestingT) {
if store == nil || store.db == nil {
fmt.Printf(">>>>>>>> NIL STORE / DB <<<<<\n\n")
assert.NoError(tb, errors.New("store or database is nil"))
assert.Fail(tb, "store or database is nil")
return
}