grim/convey

Remove the now unused merge attribute
redux
2021-10-16, Gary Kramlich
0accac3db806
Remove the now unused merge attribute
package podman
import (
"testing"
. "github.com/onsi/gomega"
)
func TestBuild(t *testing.T) {
g := NewGomegaWithT(t)
b := &Build{
Containerfile: "Dockerfile",
Tags: []string{"foo:latest"},
}
g.Expect(b.Valid()).To(BeNil())
}
func TestBuildContainerfileRequired(t *testing.T) {
g := NewGomegaWithT(t)
b := &Build{
Tags: []string{"foo:latest"},
}
g.Expect(b.Valid()).To(MatchError(ErrNoContainerfile))
}
func TestBuildTagsRequired(t *testing.T) {
g := NewGomegaWithT(t)
b := &Build{
Containerfile: "Dockerfile",
}
g.Expect(b.Valid()).To(MatchError(ErrNoTags))
}