Skip to content

Commit

Permalink
confirm that AfterEach is properly cleaning up tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Feb 28, 2024
1 parent 78ac238 commit ab99367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/http/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ var _ = Describe("API test", func() {
AfterEach(func() {
cancel()
app.Shutdown()
os.RemoveAll(tmpdir)
err := os.RemoveAll(tmpdir)
Expect(err).ToNot(HaveOccurred())
})

Context("Applying models", func() {
Expand Down

0 comments on commit ab99367

Please sign in to comment.