Misc typo fixes (#673)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2022-03-17 21:05:16 +05:30 committed by GitHub
parent 0161f95873
commit 5bf54f9a72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ func Test_NamespaceForDistro(t *testing.T) {
allDistros.Add(d.String()) allDistros.Add(d.String())
} }
// TOOD: what do we do with mariner // TODO: what do we do with mariner
allDistros.Remove(distro.Mariner.String()) allDistros.Remove(distro.Mariner.String())
for _, test := range tests { for _, test := range tests {

View file

@ -260,7 +260,7 @@ func TestMatcherRpmdb(t *testing.T) {
for _, a := range actual { for _, a := range actual {
if val, ok := test.expectedMatches[a.Vulnerability.ID]; !ok { 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 continue
} else { } else {
require.NotEmpty(t, a.Details) require.NotEmpty(t, a.Details)