Skip to content

Commit

Permalink
fixup: review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Ball <lball@redhat.com>
  • Loading branch information
lance committed Aug 31, 2022
1 parent c6dc817 commit c7282d8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ func TestBuild_ImageFlag(t *testing.T) {
root, cleanup := Mktemp(t)
defer cleanup()

// Write a func.yaml config which does not specify an image
funcYaml := `name: foo
runtime: go
builder: pack
created: 2022-01-01T00:00:00+00:00
`
if err := ioutil.WriteFile("func.yaml", []byte(funcYaml), 0600); err != nil {
if err := fn.New().Create(fn.Function{Runtime: "go", Root: root}); err != nil {
t.Fatal(err)
}

Expand Down

0 comments on commit c7282d8

Please sign in to comment.