Skip to content

Commit

Permalink
Fix CR
Browse files Browse the repository at this point in the history
  • Loading branch information
asafambar committed Jun 9, 2024
1 parent 93c25df commit 7dfaa0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/goutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ func TestGetDependenciesListWithIgnoreErrors(t *testing.T) {
// In some cases, we see that running go list on some Go packages may fail.
// We should allow ignoring the errors in such cases and build the Go dependency tree, even if partial.
testGetDependenciesList(t, "testBadGoList", nil)
// In some cases we would like to exit after we receive an error, this can be done with custom error handle func.
// this test handleErrorFunc return an error
// In some cases we would like to exit after we receive an error. This can be done with custom error handle func.
// This test handleErrorFunc return an error
testGetDependenciesList(t, "testBadGoList", func(err error) (bool, error) {
if err != nil {
return true, err
Expand Down

0 comments on commit 7dfaa0d

Please sign in to comment.