verbose test output

This commit is contained in:
redanthrax 2022-06-22 16:36:38 -07:00
parent 6853f1639e
commit 080873d74b
6 changed files with 6 additions and 0 deletions

View file

@ -25,6 +25,7 @@ func TestGetInstalledSoftware(t *testing.T) {
for _, tt := range testTable {
t.Run(tt.name, func(t *testing.T) {
result, err := software.GetInstalledSoftware()
t.Logf("result: (%v)", result)
if len(result) < tt.atLeast {
t.Errorf("expected at least %d, got %d", tt.atLeast, len(result))
}