Skip to content

Commit

Permalink
fixup: typo
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vašek <[email protected]>
  • Loading branch information
matejvasek committed Sep 15, 2024
1 parent a6bff20 commit 09e4038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testing/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func ServeRepo(name string, t *testing.T) string {
defer in.Close()
out, err = os.OpenFile(dest, os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
return fmt.Errorf("cannot open desitnation file: %v", err)
return fmt.Errorf("cannot open destination file: %v", err)
}
defer out.Close()
_, err = io.Copy(out, in)
Expand Down

0 comments on commit 09e4038

Please sign in to comment.