Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for finishedEarly (0.16 sec)

  1. src/context/x_test.go

    func TestCause(t *testing.T) {
    	var (
    		forever       = 1e6 * time.Second
    		parentCause   = fmt.Errorf("parentCause")
    		childCause    = fmt.Errorf("childCause")
    		tooSlow       = fmt.Errorf("tooSlow")
    		finishedEarly = fmt.Errorf("finishedEarly")
    	)
    	for _, test := range []struct {
    		name  string
    		ctx   func() Context
    		err   error
    		cause error
    	}{
    		{
    			name:  "Background",
    			ctx:   Background,
    			err:   nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top