Skip to content

Commit

Permalink
Fix missing var initialize. (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
winder authored Feb 1, 2023
1 parent 07e454c commit 323ff96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestInitSuccess(t *testing.T) {

func TestInitGenesisFailure(t *testing.T) {
ts := test.NewAlgodServer(test.MakeGenesisResponder(sdk.Genesis{}))
testImporter = New()
testImporter := New()
_, err := testImporter.Init(ctx, plugins.MakePluginConfig("netaddr: "+ts.URL), logger)
assert.Error(t, err)
assert.ErrorContains(t, err, "unable to fetch genesis file")
Expand Down

0 comments on commit 323ff96

Please sign in to comment.