Skip to content

Commit

Permalink
Skip linux test if running Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby authored Dec 10, 2024
1 parent 42e4a1a commit c65df17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions middleware/static/static_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,11 @@ func Test_Static_Compress_WithFileSuffixes(t *testing.T) {
}

func Test_Static_PathTraversal(t *testing.T) {
// Skip this test if running on Windows
if runtime.GOOS == "windows" {
t.Skip("Skipping Windows-specific tests")
}

t.Parallel()
app := fiber.New()

Expand Down

0 comments on commit c65df17

Please sign in to comment.