Skip to content

Commit

Permalink
use enhanced wg
Browse files Browse the repository at this point in the history
  • Loading branch information
Yisaer committed Jan 16, 2023
1 parent 3199444 commit adb7ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/wait_group_wrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestWaitGroupWrapperRunWithRecover(t *testing.T) {
require.Equal(t, expect, val.Load())

val.Store(0)
wg2 := NewWaitGroupEnhancedWrapper("",, nil)
wg2 := NewWaitGroupEnhancedWrapper("", nil)
for i := int32(0); i < expect; i++ {
wg2.RunWithRecover(func() {
panic("test1")
Expand Down

0 comments on commit adb7ad9

Please sign in to comment.