Skip to content

Commit

Permalink
Merge 4742582 into 4db5a8b
Browse files Browse the repository at this point in the history
  • Loading branch information
iFaceless committed Oct 12, 2019
2 parents 4db5a8b + 4742582 commit 6087bd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func Test_submitJobsCrashed(t *testing.T) {

resultChan, err := submitJobs(ctx, func(payload interface{}) (i interface{}, e error) {
panic("job crashed")
return
}, 1)
assert.Nil(t, err)

Expand Down
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func structName(v interface{}) string {
}

func isNil(in interface{}) bool {
if in == nil || in == interface{}(nil) {
if in == nil {
return true
}

Expand Down

0 comments on commit 6087bd5

Please sign in to comment.