Skip to content

Commit

Permalink
Update test case accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Jun 9, 2021
1 parent 932f16c commit 90f29a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingest/ledgerbackend/stellar_core_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestCloseBeforeStart(t *testing.T) {

assert.NoError(t, runner.close())

// Directory no longer cleaned up on shutdown (perf. bump in v2.5.0)
_, err = os.Stat(tempDir)
assert.Error(t, err)
assert.True(t, os.IsNotExist(err))
assert.NoError(t, err)
}

0 comments on commit 90f29a7

Please sign in to comment.