Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mchmarny committed Apr 6, 2023
1 parent 2c9c9d5 commit 2c3fcb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.5.1
v0.5.2
18 changes: 0 additions & 18 deletions internal/processor/import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,13 @@ 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",
Target: "console://stdout",
}
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",
Expand Down

0 comments on commit 2c3fcb7

Please sign in to comment.