Skip to content

Commit

Permalink
HW07 is completed. golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DimVlas committed Jun 18, 2024
1 parent 471c570 commit bcfff5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hw07_file_copying/copy_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package main

import (
"fmt"
"log"
"os"
"testing"
"time"

"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit bcfff5d

Please sign in to comment.