Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Dec 16, 2024
1 parent bac67fa commit 83237b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pkg/lint/lint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func TestLintPackageWithImports(t *testing.T) {
PackagePathOverride: ".",
Severity: SevWarn,
},
// Test imported skeleton package lints properly
{
YqPath: ".components.[0].images.[0]",
Description: "Image not pinned with digest",
Expand All @@ -128,6 +129,7 @@ func TestLintPackageWithImports(t *testing.T) {
PackagePathOverride: "oci://ghcr.io/zarf-dev/packages/dos-games:1.1.0",
Severity: SevWarn,
},
// Test local import lints properly
{
YqPath: ".components.[1].images.[0]",
Description: "Image not pinned with digest",
Expand All @@ -136,6 +138,7 @@ func TestLintPackageWithImports(t *testing.T) {
PackagePathOverride: "linted-import",
Severity: SevWarn,
},
// Test flavors
{
YqPath: ".components.[4].images.[0]",
Description: "Image not pinned with digest",
Expand Down

0 comments on commit 83237b1

Please sign in to comment.