Skip to content

Commit

Permalink
fix lint err
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Jul 21, 2023
1 parent 649506b commit d6eeba3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion file/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,10 @@ func TestFileExistsIn(t *testing.T) {
tempDir := t.TempDir()
anotherTempDir := t.TempDir()
tempFile := filepath.Join(tempDir, "file.txt")
os.WriteFile(tempFile, []byte("content"), 0644)
err := os.WriteFile(tempFile, []byte("content"), 0644)
if err != nil {
t.Fatalf("failed to write to temporary file: %v", err)
}

tests := []struct {
name string
Expand Down

0 comments on commit d6eeba3

Please sign in to comment.