verbose test output
This commit is contained in:
parent
6853f1639e
commit
080873d74b
6 changed files with 6 additions and 0 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue