aboutsummaryrefslogtreecommitdiff
path: root/fs_test.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-06-13 16:18:59 +0300
committerGravatar GitHub <noreply@github.com> 2023-06-13 15:18:59 +0200
commitffdf59d04ca2f02556308d60d37b8e77ea04484c (patch)
treecad591ac557fce7673b2c7d52a6863c7694b4e37 /fs_test.go
parentadd DisableSpecialHeaders option (#1573) (diff)
downloadfasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.gz
fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.bz2
fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.zip
Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0
Diffstat (limited to 'fs_test.go')
-rw-r--r--fs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_test.go b/fs_test.go
index 334d0b7..6be814a 100644
--- a/fs_test.go
+++ b/fs_test.go
@@ -156,7 +156,7 @@ func TestServeFileSmallNoReadFrom(t *testing.T) {
tempdir := t.TempDir()
if err := os.WriteFile(
- path.Join(tempdir, "hello"), []byte(teststr), 0666); err != nil {
+ path.Join(tempdir, "hello"), []byte(teststr), 0o666); err != nil {
t.Fatal(err)
}