Skip to content

Commit

Permalink
drift
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Mar 27, 2024
1 parent 4d36c20 commit 4649a1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ func Test_TarFile(t *testing.T) {
t.Fatal(err)
}

buff, err := tarFile(b, "Docker.file", 0o755)
buff, err := tarFile("Docker.file", func(tw io.Writer) error {
_, err := tw.Write(b)
return err
}, int64(len(b)), 0o755)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 4649a1e

Please sign in to comment.