mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
chore: update test
Signed-off-by: Keith Zantow <keith.zantow@anchore.com>
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
func readManifest(t *testing.T, ctx context.Context, parser *archiveParser) *pkg.JavaManifest {
|
||||
t.Helper()
|
||||
|
||||
matches := parser.fileManifest.GlobMatch(false, manifestGlob)
|
||||
matches := parser.entries.glob(false, manifestGlob)
|
||||
require.Len(t, matches, 1)
|
||||
|
||||
contents, err := intFile.ContentsFromZip(ctx, parser.archivePath, matches...)
|
||||
|
||||
Reference in New Issue
Block a user