aboutsummaryrefslogtreecommitdiff
path: root/fs_test.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2020-06-06 15:57:38 +0200
committerGravatar GitHub <noreply@github.com> 2020-06-06 15:57:38 +0200
commitcc9db3ab20c6ef5409d71959c8f9453f8e70565c (patch)
treeddd8b1e03d892bb89daf8801d725c9638cda8de4 /fs_test.go
parentMake the ErrNothingRead to be exposed. (#827) (diff)
downloadfasthttp-cc9db3ab20c6ef5409d71959c8f9453f8e70565c.tar.gz
fasthttp-cc9db3ab20c6ef5409d71959c8f9453f8e70565c.tar.bz2
fasthttp-cc9db3ab20c6ef5409d71959c8f9453f8e70565c.zip
Try TravisCI Windows (#828)
* Try TravisCI Windows * prefork is supported on windows with Reuseport=true * Bit longer timeouts for tests
Diffstat (limited to 'fs_test.go')
-rw-r--r--fs_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs_test.go b/fs_test.go
index 07c74dc..6484b31 100644
--- a/fs_test.go
+++ b/fs_test.go
@@ -9,6 +9,7 @@ import (
"math/rand"
"os"
"path"
+ "runtime"
"sort"
"testing"
"time"
@@ -740,6 +741,10 @@ func TestServeFileContentType(t *testing.T) {
}
func TestServeFileDirectoryRedirect(t *testing.T) {
+ if runtime.GOOS == "windows" {
+ t.SkipNow()
+ }
+
t.Parallel()
var ctx RequestCtx