From 5bf54f9a72a8d702aded16023f9efcae63f7052d Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 17 Mar 2022 21:05:16 +0530 Subject: [PATCH] Misc typo fixes (#673) Signed-off-by: Abhijeet Kasurde --- grype/db/v3/namespace_test.go | 2 +- grype/matcher/rpmdb/matcher_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grype/db/v3/namespace_test.go b/grype/db/v3/namespace_test.go index 1b078b13..b8a2785a 100644 --- a/grype/db/v3/namespace_test.go +++ b/grype/db/v3/namespace_test.go @@ -185,7 +185,7 @@ func Test_NamespaceForDistro(t *testing.T) { allDistros.Add(d.String()) } - // TOOD: what do we do with mariner + // TODO: what do we do with mariner allDistros.Remove(distro.Mariner.String()) for _, test := range tests { diff --git a/grype/matcher/rpmdb/matcher_test.go b/grype/matcher/rpmdb/matcher_test.go index dbfcea30..fe293cd6 100644 --- a/grype/matcher/rpmdb/matcher_test.go +++ b/grype/matcher/rpmdb/matcher_test.go @@ -260,7 +260,7 @@ func TestMatcherRpmdb(t *testing.T) { for _, a := range actual { if val, ok := test.expectedMatches[a.Vulnerability.ID]; !ok { - t.Errorf("return unkown match CVE: %s", a.Vulnerability.ID) + t.Errorf("return unknown match CVE: %s", a.Vulnerability.ID) continue } else { require.NotEmpty(t, a.Details)