diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2019-11-16 15:38:01 +0100 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2019-11-16 18:09:28 +0100 |
commit | 32793db72d04141d333eb04ce60170db6e79e6d2 (patch) | |
tree | 69735778f01c65ea864e696bec9fa08e83d85378 /fs_test.go | |
parent | Add Client.MaxConnDuration (diff) | |
download | fasthttp-32793db72d04141d333eb04ce60170db6e79e6d2.tar.gz fasthttp-32793db72d04141d333eb04ce60170db6e79e6d2.tar.bz2 fasthttp-32793db72d04141d333eb04ce60170db6e79e6d2.zip |
Run golangci-lint using a Github Action
Diffstat (limited to 'fs_test.go')
-rw-r--r-- | fs_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -100,7 +100,7 @@ func TestPathNotFoundFunc(t *testing.T) { t.Parallel() testPathNotFound(t, func(ctx *RequestCtx) { - ctx.WriteString("Not found hehe") + ctx.WriteString("Not found hehe") //nolint:errcheck }) } @@ -538,14 +538,14 @@ func TestFileLock(t *testing.T) { filePath := fmt.Sprintf("foo/bar/%d.jpg", i) lock := getFileLock(filePath) lock.Lock() - lock.Unlock() + lock.Unlock() // nolint:staticcheck } for i := 0; i < 10; i++ { filePath := fmt.Sprintf("foo/bar/%d.jpg", i) lock := getFileLock(filePath) lock.Lock() - lock.Unlock() + lock.Unlock() // nolint:staticcheck } } |