Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn committed May 25, 2024
1 parent 6db3d63 commit db1537a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions middleware/static/static_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,14 @@ func Test_Static_Custom_CacheControl(t *testing.T) {

func Test_Static_Disable_Cache(t *testing.T) {
t.Parallel()

app := fiber.New()

file, err := os.Create("../../.github/test.txt")
require.NoError(t, err)
_, err = file.WriteString("Hello, World!")
require.NoError(t, err)
require.NoError(t, file.Close())

// Remove the file even if the test fails
defer func() {
Expand Down

0 comments on commit db1537a

Please sign in to comment.