Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Jan 21, 2025
1 parent 0e2df07 commit 249cd7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/cmd/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ type PackageInspectSBOMOptions struct {
sbomOutputDir string
}

// NewPackageInspectSBOMCommand creates the `inspect sbom` sub-command.
// NewPackageInspectSBOMCommand creates the `package inspect sbom` sub-command.
func NewPackageInspectSBOMCommand(v *viper.Viper) *cobra.Command {
o := &PackageInspectSBOMOptions{}
cmd := &cobra.Command{
Expand Down Expand Up @@ -509,12 +509,12 @@ func (o *PackageInspectImagesOptions) Run(cmd *cobra.Command, args []string) err
return nil
}

// PackageInspectDefinitionOptions holds the command-line options for 'package inspect' sub-command.
// PackageInspectDefinitionOptions holds the command-line options for 'package inspect definition' sub-command.
type PackageInspectDefinitionOptions struct {
skipSignatureValidation bool
}

// NewPackageInspectDefinitionCommand creates the `inspect definition` sub-command.
// NewPackageInspectDefinitionCommand creates the `package inspect definition` sub-command.
func NewPackageInspectDefinitionCommand() *cobra.Command {
o := PackageInspectDefinitionOptions{}
cmd := &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion src/test/e2e/06_create_sbom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestCreateSBOM(t *testing.T) {
require.FileExists(t, filepath.Join(outSbomPath, "dos-games", expectedFile))
}

stdOut, _, err := e2e.Zarf(t, "package", "inspect", "images", tarPath, "--list-images")
stdOut, _, err := e2e.Zarf(t, "package", "inspect", "images", tarPath)
require.NoError(t, err)
require.Contains(t, stdOut, "- ghcr.io/zarf-dev/doom-game:0.0.1\n")

Expand Down

0 comments on commit 249cd7c

Please sign in to comment.