Skip to content

Commit

Permalink
grype 0.74.5
Browse files Browse the repository at this point in the history
grype: update test

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Feb 10, 2024
1 parent 138df9f commit a6ba0ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/g/grype.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Grype < Formula
desc "Vulnerability scanner for container images and filesystems"
homepage "https://github.com/anchore/grype"
url "https://github.com/anchore/grype/archive/refs/tags/v0.74.4.tar.gz"
sha256 "557e51be2f53086e237b3401085a2e384554e061c4f4780585fd6cfb81aea8dd"
url "https://github.com/anchore/grype/archive/refs/tags/v0.74.5.tar.gz"
sha256 "ec87f5de0e4b2e0c4c967619a658078285d995dd8d1c1ab02e51e3ca6ee06cdf"
license "Apache-2.0"
head "https://github.com/anchore/grype.git", branch: "main"

Expand Down Expand Up @@ -34,6 +34,6 @@ def install
test do
assert_match "database metadata not found", shell_output("#{bin}/grype db status 2>&1", 1)
assert_match "Update available", shell_output("#{bin}/grype db check", 100)
assert_match version.to_s, shell_output("#{bin}/grype version")
assert_match version.to_s, shell_output("#{bin}/grype version 2>&1")
end
end

0 comments on commit a6ba0ba

Please sign in to comment.