mirror of
https://github.com/anchore/grype
synced 2024-11-14 00:07:08 +00:00
Misc typo fixes (#673)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
0161f95873
commit
5bf54f9a72
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue