Skip to content

Commit 52b5807

Browse files
committed
fix unitest
1 parent 89f1cbd commit 52b5807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/result_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ func Test_enhanceWithScanSummary(t *testing.T) {
12081208
name: "scan summary with no vulnerabilities",
12091209
summary: createEmptyResultSummary(),
12101210
results: &wrappers.ScanResultsCollection{
1211-
Results: nil,
1211+
Results: []*wrappers.ScanResult{},
12121212
TotalCount: 0,
12131213
ScanID: "MOCK",
12141214
},

0 commit comments

Comments
 (0)