Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxsen committed Sep 16, 2024
1 parent 301a0bc commit 343b66e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions image/image_cutter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ func TestPigoRec(t *testing.T) {
if info.IsDir() {
return nil
}
if err != nil {
return nil
}
raw, err := os.ReadFile(path)
assert.NoError(t, err)
total++
Expand Down Expand Up @@ -91,6 +94,9 @@ func TestGoFaceRec(t *testing.T) {
if info.IsDir() {
return nil
}
if err != nil {
return nil
}
wg.Add(1)
go func() {
defer wg.Done()
Expand Down

0 comments on commit 343b66e

Please sign in to comment.