mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
The tests in test/cli/packages_cmd_test.go are hard to debug when different packages are found in different environments. For example, CI runs and M1 macs have been observed to have different package counts. Therefore, if the test is about to fail, log a sorted list of the packages that were found, so that it is easy to compare failures of these tests. Signed-off-by: Will Murphy <will.murphy@anchore.com>