mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 16:06:36 +01:00
add tests for content requester object
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -180,7 +180,7 @@ func TestDirectoryResolver_FilesByGlobMultiple(t *testing.T) {
|
||||
|
||||
func TestDirectoryResolver_FilesByGlobRecursive(t *testing.T) {
|
||||
t.Run("finds multiple matching files", func(t *testing.T) {
|
||||
resolver := DirectoryResolver{"test-fixtures"}
|
||||
resolver := DirectoryResolver{"test-fixtures/image-symlinks"}
|
||||
refs, err := resolver.FilesByGlob("**/*.txt")
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user