diff --git a/internal/commands/build_test.go b/internal/commands/build_test.go index 65ef7ee697..b22bf10c01 100644 --- a/internal/commands/build_test.go +++ b/internal/commands/build_test.go @@ -714,7 +714,7 @@ builder = "my-builder" }) }) - when.Focus("previous-image flag is provided", func() { + when("previous-image flag is provided", func() { when("image is invalid", func() { it("error must be thrown", func() { mockClient.EXPECT(). diff --git a/internal/inspectimage/writer/structured_bom_format_test.go b/internal/inspectimage/writer/structured_bom_format_test.go index 12837e4cab..d7e61dcd43 100644 --- a/internal/inspectimage/writer/structured_bom_format_test.go +++ b/internal/inspectimage/writer/structured_bom_format_test.go @@ -193,11 +193,11 @@ func testStructuredBOMFormat(t *testing.T, when spec.G, it spec.S) { } err := structuredBOMWriter.Print(logger, generalInfo, nil, nil, nil, nil) - assert.ErrorWithMessage(err, fmt.Sprintf("unable to find image '%s' locally or remotely", "missing-image")) + assert.ErrorWithMessage(err, fmt.Sprintf("unable to find image '%s' locally or remotely", "some-image-name")) }) }) when("fetching local and remote info errors", func() { - it.Focus("returns an error", func() { + it("returns an error", func() { structuredBOMWriter := writer.StructuredBOMFormat{ MarshalFunc: func(i interface{}) ([]byte, error) { return []byte("cool"), nil