- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCause (0.16 sec)
-
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)