From bcfff5d7847b2762f5093d47348bf394660f0973 Mon Sep 17 00:00:00 2001 From: DimVlas Date: Wed, 19 Jun 2024 00:24:57 +0300 Subject: [PATCH] HW07 is completed. golangci-lint --- hw07_file_copying/copy_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw07_file_copying/copy_test.go b/hw07_file_copying/copy_test.go index bba2a33..9c4a501 100644 --- a/hw07_file_copying/copy_test.go +++ b/hw07_file_copying/copy_test.go @@ -1,11 +1,9 @@ package main import ( - "fmt" "log" "os" "testing" - "time" "github.com/stretchr/testify/require" ) @@ -76,7 +74,7 @@ func TestFileCreate(t *testing.T) { }) t.Run("no error new file", func(t *testing.T) { - toPath := fmt.Sprintf("./testdata/out_test_create_%v.txt", time.DateTime) + toPath := "./testdata/out_test_create.txt" toFile, tstErr := fileCreate(toPath) defer func() {