Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCancelErrors (0.12 sec)

  1. src/os/exec/exec_test.go

    		}
    
    		if !strings.Contains(fmt.Sprint(cmd.Stderr), "\n\ngoroutine ") {
    			t.Errorf("cmd.Stderr does not contain a goroutine dump")
    		}
    	})
    }
    
    func TestCancelErrors(t *testing.T) {
    	t.Parallel()
    
    	// If Cancel returns a non-ErrProcessDone error and the process
    	// exits successfully, Wait should wrap the error from Cancel.
    	t.Run("success after error", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top