Skip linux test if running Windows

pull/3105/head
Juan Calderon-Perez 2024-12-10 11:24:58 -05:00 committed by GitHub
parent 42e4a1a1d9
commit c65df17d93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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()