From 2c3fcb70a126d4f3592b694b6c2f4c6cf3bec306 Mon Sep 17 00:00:00 2001 From: Mark Chmarny Date: Thu, 6 Apr 2023 09:40:14 -0700 Subject: [PATCH] version bump --- .version | 2 +- internal/processor/import_test.go | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/.version b/.version index a076e7fb..7ac34241 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v0.5.1 \ No newline at end of file +v0.5.2 \ No newline at end of file diff --git a/internal/processor/import_test.go b/internal/processor/import_test.go index c873d110..08e000f8 100644 --- a/internal/processor/import_test.go +++ b/internal/processor/import_test.go @@ -12,17 +12,6 @@ func TestImportInput(t *testing.T) { o := &ImportOptions{} assert.Error(t, o.validate()) - o = &ImportOptions{ - Source: "us-docker.pkg.dev/project/repo/img@sha256:f6efe", - } - assert.Error(t, o.validate()) - - o = &ImportOptions{ - Source: "us-docker.pkg.dev/project/repo/img@sha256:f6efe", - File: "../converter/grype/test.json", - } - assert.Error(t, o.validate()) - o = &ImportOptions{ Source: "", File: "../converter/grype/test.json", @@ -30,13 +19,6 @@ func TestImportInput(t *testing.T) { } assert.Error(t, o.validate()) - o = &ImportOptions{ - Source: "us-docker.pkg.dev/project/repo/img@sha256:f6efe", - File: "../converter/grype/test.json", - Target: "", - } - assert.Error(t, o.validate()) - o = &ImportOptions{ Source: "us-docker.pkg.dev/project/repo/img@sha256:f6efe", File: "../converter/grype/test.json",