Skip to content

Commit

Permalink
fix: fixes tests post-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
aeddi committed Dec 1, 2019
1 parent dfd6cbf commit e15648f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mobile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const sampleFakeConfig = `

func TestMobile(t *testing.T) {
var (
testCfg Config
testRepo Repo
testCfg *Config
testRepo *Repo
testNode Node
testID *ipfs_config.Identity

Expand All @@ -60,7 +60,7 @@ func TestMobile(t *testing.T) {

Convey("test config", t, FailureHalts, func() {
Convey("test get/set config", FailureHalts, func() {
var cfg Config
var cfg *Config
var val []byte
var apiAddr string
var bootstrapAddrs []string
Expand Down Expand Up @@ -131,7 +131,7 @@ func TestMobile(t *testing.T) {
})

Convey("test repo", FailureHalts, func() {
var cfg Config
var cfg *Config
var ok bool

// check if repo is initialized
Expand Down

0 comments on commit e15648f

Please sign in to comment.