File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ func TestUserTerminatedError(t *testing.T) {
8787 notifyCtx , cancelNotify := notifyContext (ctx , platformsignals .TerminationSignals ... )
8888 t .Cleanup (cancelNotify )
8989
90- syscall .Kill (syscall .Getpid (), syscall .SIGINT )
90+ assert . Check ( t , syscall .Kill (syscall .Getpid (), syscall .SIGINT ) )
9191
9292 <- notifyCtx .Done ()
9393 assert .ErrorIs (t , context .Cause (notifyCtx ), errCtxSignalTerminated {
@@ -99,7 +99,7 @@ func TestUserTerminatedError(t *testing.T) {
9999 notifyCtx , cancelNotify = notifyContext (ctx , platformsignals .TerminationSignals ... )
100100 t .Cleanup (cancelNotify )
101101
102- syscall .Kill (syscall .Getpid (), syscall .SIGTERM )
102+ assert . Check ( t , syscall .Kill (syscall .Getpid (), syscall .SIGTERM ) )
103103
104104 <- notifyCtx .Done ()
105105 assert .ErrorIs (t , context .Cause (notifyCtx ), errCtxSignalTerminated {
You can’t perform that action at this time.
0 commit comments