Skip to content

Commit

Permalink
fix: Add Cleanup Function to Test
Browse files Browse the repository at this point in the history
  • Loading branch information
l0wl3vel committed Jan 22, 2024
1 parent ace413e commit 3fa49cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func TestMain(m *testing.M) {
}

func TestDescribeFile(t *testing.T) {
t.Cleanup(func() { DeleteTestPath(t) })
_, name := UploadRandomFile1MB(t)
obj, err := bunnyclient.Describe(name)
if err != nil {
Expand Down

0 comments on commit 3fa49cf

Please sign in to comment.