Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCause (0.13 sec)

  1. src/context/x_test.go

    		Timeout() bool
    	})
    	if !ok {
    		t.Fatal("DeadlineExceeded does not support Timeout interface")
    	}
    	if !i.Timeout() {
    		t.Fatal("wrong value for timeout")
    	}
    }
    func TestCause(t *testing.T) {
    	var (
    		forever       = 1e6 * time.Second
    		parentCause   = fmt.Errorf("parentCause")
    		childCause    = fmt.Errorf("childCause")
    		tooSlow       = fmt.Errorf("tooSlow")
    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