Skip to content

Commit

Permalink
fixup: reformat
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Jul 13, 2023
1 parent 0bd12e4 commit 8f0b7c2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/oci/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,15 @@ func validateOCI(path string, t *testing.T) {
})

expectedFiles := []fileInfo{
{Path: "/etc/pki/tls/certs/ca-certificates.crt", Mod: 0644},
{Path: "/etc/ssl/certs/ca-certificates.crt", Mod: 0644},
{Path: "/func", Mod: 0755 | fs.ModeDir},
{Path: "/func/README.md", Mod: 0644},
{Path: "/func/f", Mod: 0755},
{Path: "/func/func.yaml", Mod: 0644},
{Path: "/func/go.mod", Mod: 0644},
{Path: "/func/handle.go", Mod: 0644},
{Path: "/func/handle_test.go", Mod: 0644},
{"/etc/pki/tls/certs/ca-certificates.crt", 0644},
{"/etc/ssl/certs/ca-certificates.crt", 0644},
{"/func", 0755 | fs.ModeDir},
{"/func/README.md", 0644},
{"/func/f", 0755},
{"/func/func.yaml", 0644},
{"/func/go.mod", 0644},
{"/func/handle.go", 0644},
{"/func/handle_test.go", 0644},
}

if diff := cmp.Diff(expectedFiles, files); diff != "" {
Expand Down

0 comments on commit 8f0b7c2

Please sign in to comment.